Update spinlock to avoid hungry.

This commit is contained in:
TXuian
2024-03-19 10:12:51 +08:00
parent 50dab7b553
commit 08c8f0b952
7 changed files with 39 additions and 63 deletions
@@ -55,7 +55,6 @@ void GetUsrDevPteAttr(uintptr_t* attr)
init = 1;
usr_pte_attr.entry = 0;
usr_pte_attr.S = 1;
usr_pte_attr.desc_type = PAGE_4K;
usr_pte_attr.AP1_0 = AccessPermission_KernelUser;
}
@@ -70,7 +69,6 @@ void GetDevPteAttr(uintptr_t* attr)
init = 1;
dev_pte_attr.entry = 0;
dev_pte_attr.S = 1;
dev_pte_attr.desc_type = PAGE_4K;
dev_pte_attr.AP1_0 = AccessPermission_KernelOnly;
}