Fixed the alignment bug for w=64. This will continue to be a problem with w=128, btw...

git-svn-id: svn://mamba.eecs.utk.edu/home/plank/svn/Galois-Library@82 36f187d4-5712-4624-889c-152d48957efa
master
plank 2012-12-31 21:27:51 +00:00
parent a990e8cfc7
commit 9ac53e1de2
2 changed files with 3 additions and 3 deletions

2
gf.c
View File

@ -330,7 +330,7 @@ void gf_set_region_data(gf_region_data *rd,
void *src,
void *dest,
int bytes,
uint32_t val,
uint64_t val,
int xor,
int align)
{

View File

@ -67,7 +67,7 @@ typedef struct {
void *src;
void *dest;
int bytes;
uint32_t val;
uint64_t val;
int xor;
int align; /* The number of bytes to which to align. */
void *s_start; /* The start and the top of the aligned region. */
@ -83,7 +83,7 @@ void gf_set_region_data(gf_region_data *rd,
void *src,
void *dest,
int bytes,
uint32_t val,
uint64_t val,
int xor,
int align);