Search
lxdream.org :: lxdream/src/sh4/sh4mmio.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4mmio.h
changeset 817:e9d2d9be7cb6
prev736:a02d1475ccfd
next818:2e08d8237d33
author nkeynes
date Tue Aug 19 08:38:10 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix CCR register mask
file annotate diff log raw
1.1 --- a/src/sh4/sh4mmio.h Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/sh4/sh4mmio.h Tue Aug 19 08:38:10 2008 +0000
1.3 @@ -209,9 +209,8 @@
1.4 #define CCR_MASK 0x000089AF
1.5 #define CCR_RMASK 0x000081A7 /* Read mask */
1.6
1.7 -#define MEM_OC_DISABLED 0
1.8 -#define MEM_OC_INDEX0 CCR_ORA
1.9 -#define MEM_OC_INDEX1 CCR_ORA|CCR_OIX
1.10 +#define MEM_OC_INDEX0 (CCR_ORA|CCR_OCE)
1.11 +#define MEM_OC_INDEX1 (CCR_ORA|CCR_OIX|CCR_OCE)
1.12
1.13 /* MMU functions */
1.14 void mmu_init(void);
.