Search
lxdream.org :: lxdream/test/testregs.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/testregs.c
changeset 826:69f2c9f1e608
prev818:2e08d8237d33
author nkeynes
date Sun Aug 24 02:43:28 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix mask correctness of MMU/general IO registers, add unknown/undoced
register at FF00002C
file annotate diff log raw
1.1 --- a/test/testregs.c Tue Aug 19 13:00:46 2008 +0000
1.2 +++ b/test/testregs.c Sun Aug 24 02:43:28 2008 +0000
1.3 @@ -192,9 +192,23 @@
1.4 { 0xA05F81F4, 0xFFFFFFFF, 0 },
1.5 { 0xA05F81F8, 0xFFFFFFFF, 0 },
1.6 { 0xA05F81FC, 0xFFFFFFFF, 0 },
1.7 + /* SH4 control regs */
1.8 + { 0xFF000000, 0xFFFFFFFF, 0xFFFFFCFF },
1.9 + { 0xFF000004, 0xFFFFFFFF, 0x1FFFFDFF },
1.10 + { 0xFF000008, 0xFFFFFFFF, 0xFFFFFFFF },
1.11 + { 0xFF00000C, 0xFFFFFFFF, 0xFFFFFFFF },
1.12 + { 0xFF000010, 0xFFFFFFFF, 0xFCFCFF01 },
1.13 + { 0xFF000010, 0, 0 },
1.14 { 0xFF00001C, 0xFFFFFFFF, 0x000081A7 },
1.15 + { 0xFF000020, 0xFFFFFFFF, 0x000003FC },
1.16 + { 0xFF000024, 0xFFFFFFFF, 0x00000FFF },
1.17 + { 0xFF000028, 0xFFFFFFFF, 0x00000FFF },
1.18 + { 0xFF00002C, 0x7FFFFFFF, 0x00010007 },
1.19 { 0xFF000030, 0xFFFFFFFF, 0x040205C1 },
1.20 { 0xFF000030, 0, 0x040205C1 },
1.21 + { 0xFF000034, 0xFFFFFFFF, 0x0000000F },
1.22 + { 0xFF000038, 0xFFFFFFFF, 0x0000001C },
1.23 + { 0xFF00003C, 0xFFFFFFFF, 0x0000001C },
1.24 { 0, 0, 0 } };
1.25
1.26 int main( int argc, char *argv[] )
.