Commit Graph

25 Commits

Author SHA1 Message Date
mintsuki
c7eb6319c0 stivale2: Introduce fully virtual kernel mappings 2021-10-29 01:15:11 +02:00
mintsuki
87ced72dde protos: Fix misc use-after-close bugs 2021-10-22 16:37:17 +02:00
mintsuki
f71e57af49 everywhere: Implement pmm_free() 2021-10-21 01:27:05 +02:00
Andy-Python-Programmer
0dd2bc6224
multiboot2: add the basic memory info tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-07 14:10:33 +11:00
mintsuki
dbab5f6063 apic: Do not attempt an APIC flush for protocols that don't mask IRQs 2021-09-22 12:33:56 +02:00
mintsuki
c2e279db66 protos: Remove now-useless pic_flush() calls 2021-09-21 17:34:24 +02:00
mintsuki
fe882a8b2e multiboot1 and 2: General fixes and cleanup 2021-09-14 07:43:17 +02:00
mintsuki
c7a46830f6 term: Mass backport changes done in Vinix upstream 2021-08-16 18:02:28 +02:00
mintsuki
178f3cea0e elf: Return permission ranges 2021-07-15 13:34:24 +02:00
mintsuki
1aa5ae13fc misc: Change how bios and uefi macros are defined and tested 2021-07-15 10:03:47 +02:00
mintsuki
b5f35d6091 multiboot1: Make sure all info is passed to kernel in conventional memory 2021-07-07 10:01:08 +02:00
mintsuki
4a87babe4a misc: Forbid variable shadowing 2021-07-06 05:17:18 +02:00
mintsuki
449df1d547 pmm: Implement get_raw_memmap() and use it in mb1 proto 2021-07-06 03:01:07 +02:00
mintsuki
81f4b86916 build: Unify do_32() and direct calls under a single common_spinup() 2021-07-05 23:28:04 +02:00
mintsuki
85a500a668 multiboot1: Fix broken cast 2021-07-03 01:45:46 +02:00
mintsuki
05e7c27f01 multiboot1: Make sure to load modules at a valid address even when using a.out kludge 2021-07-03 01:02:32 +02:00
mintsuki
d53facc731 multiboot: Load modules right after kernel to emulate GRUB behaviour 2021-07-02 23:58:22 +02:00
mintsuki
652a6d2575 multiboot1: Reset textmode even if kernel does not request fb info 2021-07-02 04:34:00 +02:00
Kacper Słomiński
6d47bf9d81 multiboot1: account for memory that crosses 1MB when summing up sizes 2021-06-30 20:59:59 +02:00
Kacper Słomiński
78ec547086 multiboot1: don't mask the PIC when entering kernel
The spec states the PIC must left in the state the BIOS left it in.
2021-06-30 20:44:24 +02:00
Kacper Słomiński
7002918c91 multiboot1: add a.out kludge support 2021-06-30 20:16:30 +02:00
Kacper Słomiński
f84b33650e multiboot1: allocate kernel and modules using proper type
This prevents the code from allocating over the kernel and modules when
allocating memory.
The type is changed to usable when preparing the memory map.
2021-06-30 20:16:30 +02:00
mintsuki
2f08116acb misc: Fix potentially misleading strings 2021-06-30 18:44:31 +02:00
Kacper Słomiński
6bb204bbd9 multiboot1: add support for 64-bit ELFs 2021-06-29 16:58:15 +02:00
Kacper Słomiński
4fb782449f protos: add initial multiboot1 implementation 2021-06-29 15:16:25 +02:00