mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:27:35 +00:00
Kernel+Userland: Remove supervisor pages concept
There's no real value in separating physical pages to supervisor and user types, so let's remove the concept and just let everyone to use "user" physical pages which can be allocated from any PhysicalRegion we want to use. Later on, we will remove the "user" prefix as this prefix is not needed anymore.
This commit is contained in:
parent
ed9b2a85ed
commit
1c499e75bd
8 changed files with 8 additions and 96 deletions
|
@ -9,7 +9,6 @@ ENTRY(init)
|
|||
PHDRS
|
||||
{
|
||||
elf_headers PT_LOAD FILEHDR PHDRS FLAGS(PF_R) ;
|
||||
super_pages PT_LOAD FLAGS(PF_R | PF_W) ;
|
||||
text PT_LOAD FLAGS(PF_R | PF_X) ;
|
||||
data PT_LOAD FLAGS(PF_R | PF_W) ;
|
||||
bss PT_LOAD FLAGS(PF_R | PF_W) ;
|
||||
|
@ -27,11 +26,6 @@ SECTIONS
|
|||
start_of_elf_headers = .;
|
||||
} :elf_headers
|
||||
|
||||
.super_pages ALIGN(4K) (NOLOAD) : AT (ADDR(.super_pages))
|
||||
{
|
||||
*(.super_pages)
|
||||
} :super_pages
|
||||
|
||||
.text ALIGN(4K) : AT (ADDR(.text))
|
||||
{
|
||||
start_of_kernel_text = .;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue