Commit Graph

195 Commits

Author SHA1 Message Date
mintsuki 202eac3d3a bootboot: Remove bootboot support from Limine
I added bootboot support to Limine because it was sent as a pull request by a
friend. The following does not in any way place any blame on said friend.

After having had to fix numerous bugs related to misunderstandings about the
pretentious BOOTBOOT specification I've come to the conclusion that BOOTBOOT
absolutely doesn't belong in Limine.

If you want to boot a BOOTBOOT kernel with Limine just chainload the OG BOOTBOOT
and don't pollute the source tree of Limine with having to support such a brain
dead protocol.

Legit, I didn't really read the BOOTBOOT spec prior to today and just winged
the fixes to the BOOTBOOT proto code based on common sense, but it turns out that
BOOTBOOT adheres to no common sense.

Use stivale(2).
2021-11-10 14:15:14 +01:00
mintsuki 636164a8ae bootboot: Further address some of the issues raise in #124 2021-11-10 13:48:16 +01:00
mintsuki 8b81412e14 bootboot: Fix potential buffer overflow in bruteforce_kernel() (see #124) 2021-11-10 13:40:39 +01:00
mintsuki 6aba8decc4 bootboot: Check for the right architecture when bruteforcing kernel (see #124) 2021-11-10 12:29:58 +01:00
mintsuki e0fefcf21c bootboot: Remove uselessness and compliance fixes (see #124) 2021-11-10 12:25:45 +01:00
mintsuki 6a56a07d20 Revert "bootboot: add a delay when assuming the stack size"
This reverts commit 252bc5e524.
2021-11-10 02:01:05 +01:00
mintsuki 9d4bf41ed9 config: Implement and use config_get_tuple() 2021-11-09 12:01:53 +01:00
Andy-Python-Programmer 8d25ad05d2
bootboot: make WARNING caps'ed for consistency
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-11-09 16:57:50 +11:00
mintsuki 1be24c3cbe bootboot: Fix spec compliance as noted in PR #124 comments 2021-11-09 00:32:05 +01:00
mintsuki 2caf1eaec0 bootboot: Bug fixes 2021-11-08 07:06:32 +01:00
mintsuki 93cd5b1de3 bootboot: General cleanup 2021-11-07 12:29:58 +01:00
mint 99be5e2df5
Merge pull request #124 from pitust/trunk
bootboot: add initrd support, and add a warning about the init stack
2021-11-07 11:28:43 +01:00
pitust 252bc5e524 bootboot: add a delay when assuming the stack size 2021-11-07 08:12:40 +00:00
pitust 610ae1198a bootboot: remove random newline 2021-11-06 14:45:16 +00:00
pitust db61f6914d bootboot: fix two issues in bootboot proto 2021-11-06 14:36:29 +00:00
pitust 6cbc63a32c bootboot: finish writing the error lmao 2021-11-06 12:15:04 +00:00
pitust 9374fb4f65 bootboot: add initrd support, and add a warning about the init stack 2021-11-06 09:10:11 +00:00
Andy-Python-Programmer 1580669781
stivale+stivale2: default to file path as the module string if NULL
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-11-05 19:22:57 +11:00
mint 5006077c51
Merge pull request #122 from pitust/trunk
bootboot: fix all the bad bugs
2021-11-04 09:32:25 +01:00
pitust 3338c8daa3 bootboot: flush both the pic and the apic 2021-11-04 08:19:17 +00:00
pitust 8308cfb3f2 bootboot: fix all the bad bugs 2021-11-04 07:56:54 +00:00
mintsuki 738095c451 stivale: Deprecate low memory area 2021-11-03 01:52:55 +01:00
pitust db3af4b523 bootboot: RAMDISK->INITRD_PATH, don't pass gST around for no reason, unsplit bootboot_spinup, flush the PIC only 2021-11-02 07:00:13 +00:00
pitust f1849007b6 bootboot: use printv where appropriate, and promote "no ramdisk" to a warning, also print more info about the symbols 2021-11-01 21:40:32 +00:00
pitust e4ff1ecbac bootboot: reaorder includes 2021-11-01 21:38:21 +00:00
pitust 7d55fee087 bootboot+elf: deduplicate ELF structures 2021-11-01 21:37:20 +00:00
pitust e9dadcef84 bootboot: don't zero out the framebuffer 2021-11-01 21:21:29 +00:00
pitust 24d27f769a bootboot: don't mask IRQs 2021-11-01 21:18:06 +00:00
pitust dfd347db02 bootboot: i swear this is the last CI fix 2021-11-01 21:14:27 +00:00
pitust 643db03ac0 bootboot: fix the CI, again 2021-11-01 21:12:15 +00:00
pitust b17a650317 bootboot: fix the CI 2021-11-01 21:04:14 +00:00
pitust a72a68486d bootboot: add proper support for env and ramdisk 2021-11-01 20:43:00 +00:00
pitust 6443900f2b bootboot: introduce support for the bootboot protocol 2021-11-01 20:43:00 +00:00
mintsuki 0fd0650b78 stivale2: Remove useless arguments to load function 2021-10-31 19:09:21 +01:00
mintsuki 094bc0c1a3 stivale2: Only print base addresses when fully virtual 2021-10-30 01:51:34 +02: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 e215f77411 build: De-symlink tinf 2021-10-22 20:08:11 +02:00
mintsuki 87ced72dde protos: Fix misc use-after-close bugs 2021-10-22 16:37:17 +02:00
mintsuki 8d5b1462a4 stivale2: Fix use-after-close bugs 2021-10-22 16:23:59 +02:00
mintsuki 87a62d7f3b asm: Reorganise assembly code to avoid symlink use 2021-10-22 15:45:47 +02:00
mintsuki 3ff618f1eb everywhere: Use pmm_free() in more places 2021-10-21 02:37:05 +02:00
mintsuki f71e57af49 everywhere: Implement pmm_free() 2021-10-21 01:27:05 +02:00
mintsuki f3e6ca633f build: Pass -mtune=generic 2021-10-11 21:35:23 +02:00
Andy-Python-Programmer c528aa6144
multiboot2: pass both of the smbios entry points if non-null
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-08 14:47:04 +11:00
Andy-Python-Programmer 61b31cf4fa
multiboot2: add smbios tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-08 13:46:44 +11: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
Andy-Python-Programmer 725393b26b
multiboot2: add the ACPI old tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-05 12:12:04 +11:00
Andy-Python-Programmer 60180f7eaf
multiboot2: add the EFI image handle tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-04 11:39:37 +11:00