URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/or1ksim/peripheral
- from Rev 101 to Rev 98
- ↔ Reverse comparison
Rev 101 → Rev 98
/Makefile.in
194,6 → 194,7
PACKAGE_NAME = @PACKAGE_NAME@ |
PACKAGE_STRING = @PACKAGE_STRING@ |
PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
PACKAGE_URL = @PACKAGE_URL@ |
PACKAGE_VERSION = @PACKAGE_VERSION@ |
PATH_SEPARATOR = @PATH_SEPARATOR@ |
POW_LIB = @POW_LIB@ |
/channels/Makefile.in
155,6 → 155,7
PACKAGE_NAME = @PACKAGE_NAME@ |
PACKAGE_STRING = @PACKAGE_STRING@ |
PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
PACKAGE_URL = @PACKAGE_URL@ |
PACKAGE_VERSION = @PACKAGE_VERSION@ |
PATH_SEPARATOR = @PATH_SEPARATOR@ |
POW_LIB = @POW_LIB@ |
/generic.c
128,8 → 128,7
memset (mask, 0, sizeof (mask)); |
mask[bytenum] = 0xff; |
|
if (0 != config.ext.read_up (config.ext.class_ptr, wordaddr, mask, res, |
4)) |
if (0 != config.ext.read_up (NULL, wordaddr, mask, res, 4)) |
{ |
fprintf (stderr, "Warning: external byte read failed.\n"); |
return 0; |
186,8 → 185,7
mask[bytenum] = 0xff; |
val[bytenum] = value; |
|
if (0 != config.ext.write_up (config.ext.class_ptr, wordaddr, mask, val, |
4)) |
if (0 != config.ext.write_up (NULL, wordaddr, mask, val, 4)) |
{ |
fprintf (stderr, "Warning: external byte write failed.\n"); |
} |
251,8 → 249,7
mask[hwnum ] = 0xff; |
mask[hwnum + 1] = 0xff; |
|
if (0 != config.ext.read_up (config.ext.class_ptr, wordaddr, mask, res, |
4)) |
if (0 != config.ext.read_up (NULL, wordaddr, mask, res, 4)) |
{ |
fprintf (stderr, "Warning: external half word read failed.\n"); |
return 0; |
330,8 → 327,7
val[hwnum ] = (unsigned char) (value ); |
#endif |
|
if (0 != config.ext.write_up (config.ext.class_ptr, wordaddr, mask, val, |
4)) |
if (0 != config.ext.write_up (NULL, wordaddr, mask, val, 4)) |
{ |
fprintf (stderr, "Warning: external half word write failed.\n"); |
} |
387,8 → 383,7
/* Set the mask, read and get the result */ |
memset (mask, 0xff, sizeof (mask)); |
|
if (0 != config.ext.read_up (config.ext.class_ptr, wordaddr, mask, res, |
4)) |
if (0 != config.ext.read_up (NULL, wordaddr, mask, res, 4)) |
{ |
fprintf (stderr, "Warning: external full word read failed.\n"); |
return 0; |
467,8 → 462,7
val[0] = (unsigned char) (value ); |
#endif |
|
if (0 != config.ext.write_up (config.ext.class_ptr, wordaddr, mask, val, |
4)) |
if (0 != config.ext.write_up (NULL, wordaddr, mask, val, 4)) |
{ |
fprintf (stderr, "Warning: external full word write failed.\n"); |
} |