Unify kernel entrance.

This commit is contained in:
TXuian
2024-04-25 13:51:18 +08:00
parent 52b549c14c
commit 10cc7cc270
8 changed files with 79 additions and 132 deletions

View File

@@ -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();