Search
lxdream.org :: lxdream/test/sh4/testmmu.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/sh4/testmmu.c
changeset 1090:71e28626b358
prev976:e57a25d9eb7d
author nkeynes
date Fri Dec 23 08:20:17 2011 +1000 (12 years ago)
permissions -rw-r--r--
last change Move the exception exit macros up to sh4core.h
file annotate diff log raw
1.1 --- a/test/sh4/testmmu.c Mon Jan 26 12:32:23 2009 +0000
1.2 +++ b/test/sh4/testmmu.c Fri Dec 23 08:20:17 2011 +1000
1.3 @@ -68,9 +68,14 @@
1.4 {
1.5 /* Non-TLB behaviour tests */
1.6
1.7 + install_utlb_test_handler();
1.8
1.9 + /* TLB off tests (make sure the MMU _stays_ off) */
1.10 + LOAD( 62, 0, 0x0C000000, 0x0CFFFC00, TLB_VALID|TLB_USERMODE|TLB_WRITABLE|TLB_SIZE_1K|TLB_CACHEABLE|TLB_DIRTY );
1.11 + TEST( "TLB OFF", 0, 0x0C000018, 0x0C000018, OK, OK, OK, OK );
1.12 + TEST( "TLB OFF", 1, 0x0C000018, 0x0C000018, OK, OK, OK, OK );
1.13 +
1.14 /* TLB tests */
1.15 - install_utlb_test_handler();
1.16 invalidate_tlb();
1.17 /* Permanently map the first and last MB of RAM into userspace - without
1.18 * this it's a bit hard to actually run any user-mode tests.
.