HF RL Explorer

Repair a verified behavior in limine-bootloader/limine.

Repair a verified behavior in limine-bootloader/limine.: a task in OriGent-SFT-Data (Harbor dataset). Limine's stage 2/3 x86-64 virtual memory manager always builds the final boot page tables for a 64-bit stivale2 kernel out of 4KiB and 2MiB pages, unconditionally. It never checks whether the CPU…

The task

Limine's stage 2/3 x86-64 virtual memory manager always builds the final boot page tables for a 64-bit stivale2 kernel out of 4KiB and 2MiB pages, unconditionally. It never checks whether the CPU supports 1GiB pages (CPUID extended feature flags, leaf 0x80000001, EDX bit 26, the pdpe1gb feature bit), so no PML3 entry…

Part of henryen/OriGent-SFT-Data.