bolthur / kernel

bolthur kernel source
GNU General Public License v3.0
6 stars 1 forks source link

Revise virtual memory management #23

Open Dreaded-Gnu opened 4 years ago

Dreaded-Gnu commented 4 years ago

To reduce static bloat like one structure for short descriptor and one for long descriptor format, paging code should be merged.

Previously determined via runtime the switch between short descriptor and long descriptor format has to be done via preprocessor statement, where short descriptor is used as default.

Target would be to reduce necessary size of the kernel. Currently there are static variable sets for short descriptors initial mmu setup and long descriptors initial mmu setup. With the revise only one of those two static variable sets should remain in code depending on configuration.

Things to be done

Required testing