Commit Graph

16 Commits

Author SHA1 Message Date
mintsuki
970b4e3fc9 misc: Fix a bunch of warnings related to potentially used uninitialised variables 2020-11-16 21:23:11 +01:00
mintsuki
36b5be1380 pmm: Only align memory map when explicitly requested as not to fragment ext_mem allocations too much 2020-11-14 13:29:30 +01:00
mintsuki
e8f1c9437a Change return type of cpuid(), add APIC existance check, do not assume BSP APIC ID to be 0 2020-10-22 15:25:10 +02:00
mintsuki
54eaf96860 Remove conv_mem_rewind() as it could be a dangerous source of bugs, modify code that used it accordingly 2020-10-20 02:38:01 +02:00
mintsuki
0c5ccf14b4 Remove eccessive memmap dumps and add stivale and stivale2 module loading feedback messages 2020-10-16 16:04:30 +02:00
mintsuki
3c562830d2 pmm: Merge contiguous bootloader reclaimable entries 2020-09-30 22:51:56 +02:00
mintsuki
fed6645044 MTRR: Add cpuid mtrr feature check 2020-09-28 01:30:12 +02:00
mintsuki
f49fad138c MTRR: Fix bug where 2 ANDs should have been ORs 2020-09-27 19:17:36 +02:00
mintsuki
98c5b88f5e MTRR: Ensure size of MTRR range is aligned to the closest power of 2 2020-09-27 19:14:09 +02:00
mintsuki
86a69d8724 Add write-combining and MTRR support to speed up VBE framebuffer 2020-09-27 17:39:30 +02:00
mintsuki
0dc73b3529 Fix conv_mem_alloc bug introduced by e721c3c 2020-09-26 15:41:37 +02:00
mintsuki
ed5d049c72 Fix issue with int 13h DAP potentially not fitting within a single real mode segment; load stage 2 at 0x8000 and disable LTO as it is broken for some unknown reasons now 2020-09-25 22:36:26 +02:00
mintsuki
41e03713a3 Fix vmm warnings 2020-09-21 13:41:31 +02:00
mintsuki
f245d0e280 Reorganise headers 2020-09-21 12:15:55 +02:00
mintsuki
e721c3c814 Reorganise pmm code 2020-09-20 12:03:44 +02:00
mintsuki
cb9edd2a7b Reorganise source tree 2020-09-14 19:32:11 +02:00