page: do not invalidate kernel TLB entries
set the PAGE_GLOBAL attr for kernel pages
This commit is contained in:
parent
1490de0d9c
commit
13437a219e
2 changed files with 5 additions and 0 deletions
|
|
@ -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__
|
||||
|
|
|
|||
Loading…
Reference in a new issue