mintsuki
df1e8b95bf
build: Allow out of tree builds
2021-11-20 09:13:32 +01:00
mintsuki
f48783eef7
test: Minor multiboot fixes
2021-11-20 09:12:59 +01:00
mintsuki
da6dc040c9
pmm: Minor cleanup
2021-11-20 09:12:59 +01:00
mintsuki
ceeb602498
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:24:57 +01:00
mintsuki
2829666bfd
bootboot: Further address some of the issues raise in #124
2021-11-10 14:24:57 +01:00
mintsuki
45552b23fb
bootboot: Fix potential buffer overflow in bruteforce_kernel() (see #124 )
2021-11-10 14:24:57 +01:00
mintsuki
e3bca55afa
build: Compile BIOS Limine for i686 instead of i386
2021-11-10 14:24:57 +01:00
mintsuki
792dc81b43
bootboot: Check for the right architecture when bruteforcing kernel (see #124 )
2021-11-10 14:24:57 +01:00
mintsuki
286f3bc62d
bootboot: Remove uselessness and compliance fixes (see #124 )
2021-11-10 14:24:57 +01:00
ilobilo
681a9a53f6
Update stivale.c
2021-11-10 14:24:57 +01:00
ilobilo
9cdb239605
Update stivale2.c
2021-11-10 14:24:57 +01:00
Andy-Python-Programmer
becf92eceb
tests: add a basic test multiboot1 kernel
...
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-11-10 14:24:57 +01:00
mintsuki
0aea16887c
Revert "bootboot: add a delay when assuming the stack size"
...
This reverts commit 252bc5e524
.
2021-11-10 02:01:57 +01:00
mintsuki
51f3638bdd
config: Implement and use config_get_tuple()
2021-11-10 01:59:17 +01:00
Andy-Python-Programmer
10091dc74d
config: update to add multiboot2 section in protocol keys
...
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-11-10 01:59:17 +01:00
Andy-Python-Programmer
990fde7961
bootboot: make WARNING caps'ed for consistency
...
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-11-10 01:59:17 +01:00
Andy-Python-Programmer
fa86080285
tests: add basic multiboot2 test kernel
...
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-11-10 01:59:17 +01:00
mintsuki
5305dc10ca
bootboot: Fix spec compliance as noted in PR #124 comments
2021-11-10 01:59:17 +01:00
mintsuki
2cfe54ee99
build: Get build-id from linker instead of generating a random one
2021-11-10 01:59:17 +01:00
mintsuki
ec92f62faf
bootboot: Bug fixes
2021-11-10 01:59:17 +01:00
mintsuki
abb7ccbe1a
bootboot: General cleanup
2021-11-10 01:59:17 +01:00
pitust
0f63fa7400
bootboot: add a delay when assuming the stack size
2021-11-10 01:59:17 +01:00
Andy-Python-Programmer
392f6eb216
config: document the behaviour if module string is NULL
...
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-11-10 01:56:38 +01:00
pitust
7f430c1d92
bootboot: remove random newline
2021-11-10 01:56:38 +01:00
pitust
a4713c0d4e
bootboot: fix two issues in bootboot proto
2021-11-10 01:56:38 +01:00
pitust
3f2e2bc68e
bootboot: finish writing the error lmao
2021-11-10 01:56:38 +01:00
pitust
bf5d9cc641
bootboot: add initrd support, and add a warning about the init stack
2021-11-10 01:56:38 +01:00
Andy-Python-Programmer
5ce174e5a4
stivale+stivale2: default to file path as the module string if NULL
...
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-11-10 01:56:38 +01:00
pitust
8176498c2e
bootboot: flush both the pic and the apic
2021-11-10 01:54:12 +01:00
pitust
6a5f349ab2
bootboot: fix all the bad bugs
2021-11-10 01:54:12 +01:00
pitust
669a517231
bootboot: RAMDISK->INITRD_PATH, don't pass gST around for no reason, unsplit bootboot_spinup, flush the PIC only
2021-11-10 01:53:24 +01:00
pitust
00ec4a13d4
bootboot: use printv where appropriate, and promote "no ramdisk" to a warning, also print more info about the symbols
2021-11-10 01:52:45 +01:00
pitust
279e7e08d9
bootboot: reaorder includes
2021-11-10 01:52:45 +01:00
pitust
f0988eb967
bootboot+elf: deduplicate ELF structures
2021-11-10 01:52:45 +01:00
pitust
da82918dfd
bootboot: don't zero out the framebuffer
2021-11-10 01:52:45 +01:00
pitust
e3e57e1b36
bootboot: don't mask IRQs
2021-11-10 01:52:45 +01:00
pitust
864a0c5180
bootboot: i swear this is the last CI fix
2021-11-10 01:51:40 +01:00
pitust
17ef1ccc97
bootboot: fix the CI, again
2021-11-10 01:51:40 +01:00
pitust
c6940f49c5
bootboot: fix the CI
2021-11-10 01:51:40 +01:00
pitust
c44ba88c5c
bootboot: document the protocol and it's configuration options
2021-11-10 01:51:40 +01:00
pitust
95c97bca9c
bootboot: add proper support for env and ramdisk
2021-11-10 01:51:40 +01:00
pitust
6c88eab95d
bootboot: introduce support for the bootboot protocol
2021-11-10 01:51:40 +01:00
mintsuki
935a392a36
elf: Drop lower half program headers for PMRs
2021-11-05 06:46:42 +01:00
mintsuki
d28e93f257
pmm: Better handling of creating new memmap entries
2021-11-03 03:05:44 +01:00
mintsuki
dc1d6a3c61
stivale: Deprecate low memory area
2021-11-03 03:05:44 +01:00
mintsuki
b5773bb388
disk: Improve performance on UEFI
2021-11-03 03:05:44 +01:00
mintsuki
c98ca923ef
test: Uncomment GRAPHICS option in config
2021-11-01 02:46:55 +01:00
mintsuki
9e6612ab56
elf: Fix bug introduced in dbbef9f
2021-11-01 02:44:34 +01:00
mintsuki
e0f6b3c4ce
test: Remove KASLR=no from stivale1 config entry
2021-10-31 22:12:09 +01:00
mintsuki
57877d167e
elf: Align range lengths to p_align
2021-10-31 22:12:00 +01:00