Search
lxdream.org :: lxdream/src/sh4/mmu.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/mmu.h
changeset 945:787729653236
prev939:6f2302afeb89
next946:d41ee7994db7
author nkeynes
date Mon Jan 05 04:19:46 2009 +0000 (12 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change Move address space decls to mmu.h
Finally remove sh4_read_long and friends
file annotate diff log raw
1.1 --- a/src/sh4/mmu.h Sat Jan 03 03:30:26 2009 +0000
1.2 +++ b/src/sh4/mmu.h Mon Jan 05 04:19:46 2009 +0000
1.3 @@ -105,7 +105,22 @@
1.4
1.5 extern uint32_t mmu_urc;
1.6 extern uint32_t mmu_urb;
1.7 -
1.8 +
1.9 +/** Primary SH4 address space (privileged and user access)
1.10 + * Page map (4KB) of the entire 32-bit address space
1.11 + * Note: only callable from the SH4 cores as it depends on the caller setting
1.12 + * up an appropriate exception environment.
1.13 + **/
1.14 +extern struct mem_region_fn **sh4_address_space;
1.15 +extern struct mem_region_fn **sh4_user_address_space;
1.16 +
1.17 +/** Store-queue (prefetch) address space (privileged and user access)
1.18 + * Page map (4KB) of the 0xE0000000..0xE4000000 region
1.19 + * Same caveats apply as for the primary address space above.
1.20 + */
1.21 +extern struct mem_region_fn **storequeue_address_space;
1.22 +extern struct mem_region_fn **storequeue_user_address_space;
1.23 +
1.24 #ifdef __cplusplus
1.25 }
1.26 #endif
.