page: do not invalidate kernel TLB entries

set the PAGE_GLOBAL attr for kernel pages
This commit is contained in:
Michael Shaw 2023-05-23 22:30:00 -04:00
commit 13437a219e
2 changed files with 5 additions and 0 deletions

View file

@ -12,6 +12,7 @@
#define PAGE_PRESENT (1 << 0)
#define PAGE_RW (1 << 1)
#define PAGE_PCD (1 << 4)
#define PAGE_GLOBAL (1 << 8)
#define PAGE_USERMODE (1 << 2)
#ifndef __ASM__