update codes for os course-YAO-class, fall, 2013
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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!' \
|
||||
|
||||
Reference in New Issue
Block a user