filename | src/mmio.h |
changeset | 946:d41ee7994db7 |
prev | 929:fd8cb0c82f5f |
next | 1067:d3c00ffccfcd |
author | nkeynes |
date | Tue Jan 06 01:58:08 2009 +0000 (13 years ago) |
branch | lxdream-mem |
permissions | -rw-r--r-- |
last change | Fully integrate SQ with the new address space code - added additional 'prefetch' memory accessor. TLB is utterly untested, but non-TLB at least still works. |
file | annotate | diff | log | raw |
1.1 --- a/src/mmio.h Sat Dec 20 03:01:40 2008 +00001.2 +++ b/src/mmio.h Tue Jan 06 01:58:08 2009 +00001.3 @@ -112,7 +112,7 @@1.4 #undef MMIO_REGION_LIST_BEGIN1.5 #undef MMIO_REGION1.6 #undef MMIO_REGION_LIST_END1.7 -#define MMIO_REGION_BEGIN(b,id,d) struct mmio_region mmio_region_##id = { #id, d, b, {mmio_region_##id##_read, mmio_region_##id##_write,mmio_region_##id##_read, mmio_region_##id##_write,mmio_region_##id##_read, mmio_region_##id##_write,NULL, NULL}, 0, 0, {1.8 +#define MMIO_REGION_BEGIN(b,id,d) struct mmio_region mmio_region_##id = { #id, d, b, {mmio_region_##id##_read, mmio_region_##id##_write,mmio_region_##id##_read, mmio_region_##id##_write,mmio_region_##id##_read, mmio_region_##id##_write,NULL, NULL, unmapped_prefetch}, 0, 0, {1.9 #define LONG_PORT( o,id,f,def,d ) { #id, d, 32, o, def, f },1.10 #define WORD_PORT( o,id,f,def,d ) { #id, d, 16, o, def, f },1.11 #define BYTE_PORT( o,id,f,def,d ) { #id, d, 8, o, def, f },
.