Changeset 265 for trunk/softs
- Timestamp:
- Oct 17, 2012, 12:03:39 PM (12 years ago)
- Location:
- trunk/softs/tests_ccvcache_v4
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tests_ccvcache_v4/run_tests
r232 r265 15 15 test_dtlb_ptprinval test_itlb_ptprinval test_idtlb_ptprinval \ 16 16 test_sync \ 17 test_ sc_update_cache test_pte_llsc \17 test_llsc test_sc_no_ll test_sc_update_cache test_pte_llsc \ 18 18 test_interrupt \ 19 19 test_interrupt_epc_modify \ -
trunk/softs/tests_ccvcache_v4/test_llsc/run
r232 r265 1 1 #!/bin/sh 2 3 . ../common/common.sh 2 4 3 5 check_output() 4 6 { 5 egrep "^0x0000 0000 0xAC4000FF 0xAC4000FF 0x00000000$" run.out > /dev/null7 egrep "^0x0000DEAD 0x0000DEAD 0x0000BEEF 0x0000DEAD$" run.out > /dev/null 6 8 if [ $? -eq 0 ]; then 7 9 return 0; … … 12 14 13 15 make --quiet || exit 1 14 ../platform/simulation.x> run.out 2>&116 ${SIMUL} > run.out 2>&1 15 17 if [ $? -eq 0 ]; then 16 18 if check_output; then -
trunk/softs/tests_ccvcache_v4/test_llsc/test.S
r232 r265 31 31 PUTCHAR(' ') 32 32 33 /* now write to myvar via ll/sc 33 /* now write to myvar via ll/sc */ 34 34 la s1, myvar 35 35 1: … … 37 37 li a1, MAGIC2 38 38 sc a1, 0(s1) 39 beqz a1, 2b39 beqz a1, 1b 40 40 nop 41 41 42 PRINTX /* print what we read with ll */ 43 PUTCHAR(' ') 44 45 la s1, myvar 46 lw a0, 0(s1) /* print the new value */ 47 PRINTX 48 PUTCHAR(' ') 49 42 50 /* restore myvar value via normal write */ 51 la s1, myvar 43 52 li a1, MAGIC1 44 53 sw a1, 0(s1) … … 93 102 pte1: 94 103 .align 13 95 .word PTE1_V | PTE1_ C | PTE1_W | 0x0 /* map PA 0 at VA 0 */104 .word PTE1_V | PTE1_W | 0x0 /* map PA 0 at VA 0 */ 96 105 .org pte1 + (BOOT_ADDRESS >> 21) * 4 97 106 .word PTE1_V | PTE1_C | PTE1_X | (BOOT_ADDRESS >> 21) /* map PA 0xbfc00000 at VA 0xbfc00000 */ -
trunk/softs/tests_ccvcache_v4/test_sync/run.out
r232 r265 1 1 2 SystemC 2.2.0 --- Apr 14 2011 18:52:402 SystemC 2.2.0 --- Jun 8 2009 14:24:30 3 3 Copyright (c) 1996-2006 by all Contributors 4 4 ALL RIGHTS RESERVED … … 11 11 <Segment "mdma_d": base = 0xe8000000 / size = 0x14 / tgtid = (5) / uncached> 12 12 13 Mapping table: ad:(6) id:(6) cacheability mask: 0xf0000000 14 <Segment "proc_c": base = 0x10000000 / size = 0x10 / tgtid = (0) / uncached / init = (0)> 15 <Segment "memc_c": base = 0 / size = 0x2000010 / tgtid = (1) / uncached> 16 <Segment "brom_c": base = 0xbfc00000 / size = 0x40000 / tgtid = (1) / uncached> 13 Mapping table: ad:(14) id:(14) cacheability mask: 0xf0000000 14 <Segment "proc_c": base = 0 / size = 0x10 / tgtid = (0) / uncached> 15 <Segment "memc_c": base = 0x40000 / size = 0x10 / tgtid = (1) / uncached> 17 16 18 17 Loading at 0xbfc00000 size 262144: .text
Note: See TracChangeset
for help on using the changeset viewer.