SerenityOS / serenity

The Serenity Operating System 🐞
https://serenityos.org
BSD 2-Clause "Simplified" License
30.48k stars 3.18k forks source link

Kernel: Legacy code and design burdens #22865

Open Hendiadyoin1 opened 8 months ago

Hendiadyoin1 commented 8 months ago

Since the i386-only days our Kernel grew quite organically, with some old code, concepts and designs not holding up to the current times here I will collect old burdens of interface design and the like

I will try to keep this list up to date, as things are resolved and new things are found

kleinesfilmroellchen commented 8 months ago

Renaming PageDirectory -> PageTable. The RISC-V spec never uses the former, and I suspect AArch64 is similar.

ADKaster commented 8 months ago

PageDirectory refers to a specific level of page table. I'm not sure if it really makes sense to rename it? It needs a specific implementation on x86_64, even if the RISC architectures we're looking at treat each level of page table the same.