Commit Graph

37 Commits

Author SHA1 Message Date
mintsuki
edad956e9a misc: Allow recovering from panics 2021-12-11 19:58:00 +01:00
mintsuki
b1bbcc4698 elf: Use right print format for panic 2021-12-09 23:47:01 +01:00
mintsuki
e127b6c88a elf: Print out range addresses on allocation failure 2021-12-06 02:31:35 +01:00
mintsuki
beffb3e9ea elf: Add guards to prevent non-higher half 64-bit kernels from loading when using PMRs or fully virtual mappings 2021-12-06 00:21:38 +01:00
mintsuki
79970493d8 elf: Silence excessive verbosity 2021-11-28 22:18:49 +01:00
mintsuki
c338f575d8 elf: Drop lower half program headers for PMRs 2021-11-05 03:22:19 +01:00
pitust
7d55fee087 bootboot+elf: deduplicate ELF structures 2021-11-01 21:37:20 +00:00
mintsuki
c5dfd77fba elf: Fix bug introduced in dbbef9f 2021-11-01 02:43:22 +01:00
mintsuki
576669b80e elf: Align range lengths to p_align 2021-10-31 22:01:29 +01:00
mintsuki
7eeadd7194 elf: Fix bug related to overshoot check 2021-10-31 05:17:37 +01:00
mintsuki
dcd422806c stivale2: Introduce fully virtual kernel mappings (KASLR/PIE fixes) 2021-10-29 19:51:22 +02:00
mintsuki
dbbef9f6d3 stivale2: Introduce fully virtual kernel mappings (bug fixes) 2021-10-29 02:15:17 +02:00
mintsuki
c7eb6319c0 stivale2: Introduce fully virtual kernel mappings 2021-10-29 01:15:11 +02:00
mintsuki
f71e57af49 everywhere: Implement pmm_free() 2021-10-21 01:27:05 +02:00
mintsuki
0e9d145b2a elf: Fix off-by-1 comparisons 2021-10-02 21:32:47 +02:00
Andy-Python-Programmer
8b8388b167
elf_section_hdr_info: return the info instead of void
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-12 12:54:37 +10:00
Andy-Python-Programmer
6d034adc5a
multiboot2: implement ELF sections tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-10 18:02:54 +10:00
Andy-Python-Programmer
60811e70d6
multiboot2: initial support
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-10 13:46:41 +10:00
mintsuki
12566c53b3 elf: Make allocation failure simulation more lax 2021-08-29 16:11:56 +02:00
mintsuki
9540ea620b elf: Make sure KASLR doesn't result in load addresses higher than 0x80000000 for higher half kernels 2021-07-29 15:44:27 +02:00
mintsuki
2a4f9eb0c4 elf: Do not enforce segment load address alignment even if PMRs are requested 2021-07-25 01:18:36 +02:00
mintsuki
f5b0a4ee25 elf: More bug fixes 2021-07-17 08:19:03 +02:00
mintsuki
5fa8ef5d37 elf: Bug fixes 2021-07-17 07:38:19 +02:00
mintsuki
de3c7eed67 stivale2: Implement PMRs 2021-07-15 16:20:29 +02:00
mintsuki
178f3cea0e elf: Return permission ranges 2021-07-15 13:34:24 +02:00
mintsuki
d53facc731 multiboot: Load modules right after kernel to emulate GRUB behaviour 2021-07-02 23:58:22 +02:00
Kacper Słomiński
9115bc7b50 elf: allow elf64_load to use paddrs instead of vaddrs 2021-06-29 16:57:51 +02:00
Kacper Słomiński
22587856fd elf: adjust entry point address to paddr in elf32_load 2021-06-29 15:19:46 +02:00
mintsuki
f650e4b41b misc: Add verbose config option 2021-05-11 06:46:42 +02:00
mintsuki
c3db6d0c41 stivale: Implement KASLR config option 2021-04-15 04:32:49 +02:00
mintsuki
7abb7348a9 stivale2: Implement terminal 2021-04-07 02:10:28 +02:00
mintsuki
d1946b9dbc stivale2: Implement kernel file tag 2021-03-28 15:46:59 +02:00
mintsuki
30b750a2ad elf: Always do ASLR when loading relocatable ELFs and handle unavailable memory ranges instead of crashing 2021-03-26 15:47:59 +01:00
mintsuki
edd4a8de60 Initial UEFI port 2021-03-02 10:23:43 +01:00
mintsuki
8c0c36ea74 misc: Change the way stage 2 and 3 are divided 2021-03-01 23:38:55 +01:00
mintsuki
8769aaae1e misc: Move a lot of code from stage 2 to stage 3 2021-02-25 23:11:53 +01:00
mintsuki
27848fc85c misc: General code reorganisation 2021-02-25 01:24:54 +01:00