Unify kernel entrance.
This commit is contained in:
@@ -47,4 +47,7 @@ static inline struct CPU* cur_cpu(void)
|
||||
return &global_cpus[cur_cpuid()];
|
||||
}
|
||||
|
||||
struct spinlock whole_kernel_lock;
|
||||
struct spinlock whole_kernel_lock;
|
||||
|
||||
void xizi_enter_kernel();
|
||||
void xizi_leave_kernel();
|
||||
Reference in New Issue
Block a user