forked from xuos/xiuos
Support O2 optimization
This commit is contained in:
@@ -47,7 +47,7 @@ static inline struct CPU* cur_cpu(void)
|
||||
return &global_cpus[cur_cpuid()];
|
||||
}
|
||||
|
||||
struct spinlock whole_kernel_lock;
|
||||
extern struct spinlock whole_kernel_lock;
|
||||
|
||||
void xizi_enter_kernel();
|
||||
bool xizi_try_enter_kernel();
|
||||
|
||||
Reference in New Issue
Block a user