Commit Graph

104 Commits

Author SHA1 Message Date
mintsuki
4859ee9790 Revert "multiboot: Take better care of not having the reloc stub overwritten"
This reverts commit 009fb59b69.
2022-07-24 22:32:25 +02:00
mintsuki
d2b1579668 multiboot: Properly check elsewhere returns 2022-07-24 22:28:16 +02:00
mintsuki
8a8b62fbcf chainload: Fix bug where PARTITION was ignored if MBR_ID was set. Addresses #197 2022-07-14 19:24:41 +02:00
mintsuki
2a448febb3 protos: Move 'loading kernel' prints where they belong 2022-07-13 08:34:30 +02:00
mintsuki
e5e125887b protos: Remove pointless returns added for autodetection 2022-07-13 07:40:53 +02:00
mintsuki
62c029c218 chainload: Implement MBR_ID config option. Closes #190 2022-07-11 01:30:54 +02:00
mintsuki
fb75a6876e chainload_next: Fix some UEFI bugs 2022-07-11 00:53:33 +02:00
mintsuki
4511827780 chainload_next: Pass config through to chainload on UEFI 2022-07-11 00:27:22 +02:00
mintsuki
abd641bba0 protos: Fix typo in chainload_next.c 2022-07-11 00:19:32 +02:00
mintsuki
95272c5f1d protos: Add chainload_next protocol. Closes #191 2022-07-11 00:15:56 +02:00
mintsuki
00b9f44255 limine: Fix assignment of paths broken in 0431623 2022-07-07 10:08:55 +02:00
mintsuki
009fb59b69 multiboot: Take better care of not having the reloc stub overwritten 2022-07-05 20:42:09 +02:00
mintsuki
8e54ea461b protos: Remove ugly .32.c files and replace them with pure asm files 2022-07-05 18:53:39 +02:00
mintsuki
48318c25eb limine: Fix bug where HHDM would be randomised even with KASLR disabled 2022-07-04 08:58:44 +02:00
mintsuki
af2f92210a multiboot: Do not panic if unable to set text mode 2022-06-30 07:25:33 +02:00
mintsuki
0fac035a34 multiboot2: Add stub support for relocation header tag 2022-06-30 05:50:31 +02:00
mintsuki
b899d1accd multiboot2: Remove useless, broken comparison 2022-06-29 15:20:09 +02:00
mintsuki
a1bf37382d multiboot2: Bring framebuffer tag up to par with mb1 2022-06-29 13:25:09 +02:00
mintsuki
77b405a6b6 multiboot2: Bring a.out kludge up to par with mb1 2022-06-29 13:04:26 +02:00
mintsuki
94a20e649b multiboot: Fix relocator assembly issues 2022-06-29 12:41:42 +02:00
mintsuki
3d65bfb9b9 misc: Misc elsewhere and multiboot-related bug fixes 2022-06-29 12:32:50 +02:00
mintsuki
215bf87993 misc: Bring mb2 up to par to mb1 wrt everywhere ranges and bug fixes 2022-06-29 10:27:04 +02:00
mintsuki
19287d5ca1 misc: Add elsewhere TU and rework mb1 to use it 2022-06-29 09:34:14 +02:00
mintsuki
a2f7d2d314 multiboot1: Add ahead-of-time info size calculation 2022-06-29 07:26:06 +02:00
mintsuki
d7d0a84462 multiboot1: Properly support relocation for a.out kludge kernels and bug fixes 2022-06-28 11:41:15 +02:00
mintsuki
fba565b34e elf: Add support for sliding and ELF ranges to ELF32 as well 2022-06-28 10:26:14 +02:00
mintsuki
f62345ee64 build: Add generic x86 asm extension grouping 2022-06-28 08:47:40 +02:00
mintsuki
b9400d2fc9 multiboot: Backport b92d48e to multiboot1 2022-06-27 11:17:47 +02:00
mintsuki
b92d48e44f multiboot(2): Initial support for arbitrary kernel load addresses 2022-06-27 10:55:57 +02:00
peko
7fb17ce9bc
Update multiboot1.c (#181)
* Update multiboot1.c

* Update multiboot1.c

* Update multiboot1.c

* Update multiboot1.c
2022-06-22 21:11:34 +02:00
mintsuki
1e47160a62 multiboot: Fix section location calculation 2022-06-19 20:16:37 +02:00
mintsuki
3ef8a29933 multiboot1: Add ELF sections load support 2022-06-19 01:46:38 +02:00
mintsuki
77fa71ae92 multiboot2: Use correct section list copy for section loading 2022-06-19 01:08:17 +02:00
mintsuki
15ab3d7748 multiboot2: Fix broken section list size calculation (3) 2022-06-19 00:35:12 +02:00
mintsuki
ab84448be2 multiboot2: Fix broken section list size calculation (2) 2022-06-19 00:30:01 +02:00
mintsuki
ded43b60a3 multiboot2: Fix broken section list size calculation 2022-06-19 00:01:58 +02:00
mintsuki
7f6ac2d135 multiboot2: Add mb2_alloc() for quirky allocation locations 2022-06-18 23:40:34 +02:00
mintsuki
1fc8247a86 build: Increase portability of Makefile targets 2022-06-15 03:25:36 +02:00
mintsuki
746d0ad529 protos: Drop stivale and stivale2 support 2022-06-14 03:56:30 +02:00
mintsuki
9a89e72dc8 multiboot1: use config_get_tuple when appropriate 2022-05-28 05:13:46 +02:00
Nathan Royer
67b75fa059 multiboot2: use config_get_tuple when appropriate 2022-05-28 05:05:11 +02:00
mintsuki
c9f4f6bee7 fb: Change reactions of protocols to high fb sizes 2022-05-22 08:19:41 +02:00
mintsuki
9585dcbd5c limine: Add new requests for terminal and framebuffer 2022-05-22 03:44:04 +02:00
mintsuki
688c118caa limine: Ensure framebuffer pointer of terminal is always valid 2022-05-13 19:14:10 +02:00
mintsuki
e836fb44de limine: Only acknowledge stack size req if new stack > default 2022-05-07 17:11:11 +02:00
ilobilo
ce7c561eb0
Stack size
If stack size == 0 use default size
2022-05-05 15:51:31 +04:00
mintsuki
e22d5eff39 limine: Increment default stack size to 64KiB 2022-04-17 07:56:41 +02:00
mintsuki
fbf1e1584e term/protos: Do not call callback if NULL 2022-04-17 07:51:28 +02:00
mintsuki
4202402bf0 limine: Ensure framebuffer memmap entry is always generated 2022-04-15 15:13:40 +02:00
mintsuki
dae8927078 limine: Add support for .limine_reqs ELF section 2022-04-14 20:34:59 +02:00