update codes for os course-YAO-class, fall, 2013

This commit is contained in:
chyyuu
2013-09-17 10:34:45 +08:00
parent 54410feba2
commit 1851498df5
47 changed files with 50 additions and 34 deletions

View File

@@ -186,14 +186,9 @@ static void slob_free(void *block, int size)
void check_slob(void) {
cprintf("check_slob() success\n");
}
void
slob_init(void) {
cprintf("use SLOB allocator\n");
check_slob();
}
inline void

View File

@@ -332,10 +332,6 @@ quick_check 'check page table' \
' |-- PTE(000e0) faf00000-fafe0000 000e0000 urw' \
' |-- PTE(00001) fafeb000-fafec000 00001000 -rw'
pts=10
quick_check 'check slob' \
'check_slob() succeeded!'
pts=25
quick_check 'check vmm' \
'check_vma_struct() succeeded!' \