Search
lxdream.org :: lxdream/src/mmio.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/mmio.h
changeset 674:377d987db8f2
prev561:533f6b478071
next796:a2dc83592467
author nkeynes
date Mon May 26 10:42:18 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix save states for x86-64, and ensure compatibility between 32-bit and 64-bit versions
file annotate diff log raw
1.1 --- a/src/mmio.h Tue Jan 01 05:08:38 2008 +0000
1.2 +++ b/src/mmio.h Mon May 26 10:42:18 2008 +0000
1.3 @@ -65,7 +65,7 @@
1.4 void register_io_regions( struct mmio_region **mmiolist );
1.5
1.6 extern struct mmio_region *io_rgn[];
1.7 -extern uintptr_t num_io_rgns;
1.8 +extern uint32_t num_io_rgns;
1.9
1.10 #define MMIO_READ( id, r ) *((int32_t *)(mmio_region_##id.mem + (r)))
1.11 #define MMIO_READF( id, r ) *((float *)(mmio_region_##id.mem + (r)))
.