Make VM fix up memory for kernel that crosses region boundaries

too.

Add a test to make this happen (triggers a vm panic before this commit).
This commit is contained in:
Ben Gras
2009-12-08 13:35:52 +00:00
parent bd0933a19b
commit 8d800b3df7
6 changed files with 45 additions and 60 deletions

View File

@@ -8,7 +8,7 @@ OBJ= test1 test2 test3 test4 test5 test6 test7 test8 test9 \
test21 test22 test23 test25 test26 test27 test28 test29 \
test30 test31 test32 test34 test35 test36 test37 test38 \
test39 t10a t11a t11b test40 t40a t40b t40c t40d t40e t40f test41 \
test42
test42 test44
BIGOBJ= test20 test24
ROOTOBJ= test11 test33 test43
@@ -84,3 +84,4 @@ t40f: t40f.c
test41: test41.c
test42: test42.c
test43: test43.c
test44: test44.c

View File

@@ -18,7 +18,7 @@ echo " "
# Run all the tests, keeping track of who failed.
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 \
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 \
41 42 43 sh1.sh sh2.sh
41 42 43 44 sh1.sh sh2.sh
do total=`expr $total + 1`
FAIL=0
if [ $USER = root -a \( $i = 11 -o $i = 33 \) ]