mintsuki
a2e6051451
misc: Move to standard C11 noreturn
2022-01-02 13:06:48 +01:00
mintsuki
c1017c3fab
chainload: Fix up drive number passed to spinup()
2021-12-24 00:32:46 +01:00
mintsuki
3654bb7efb
stivale1&2: Allocate kernel with the right memmap type for 32-bit
2021-12-24 00:32:46 +01:00
mintsuki
a5073b9a6c
Revert "Revert "misc: Allow recovering from panics""
...
This reverts commit 5f9ed4c78f744cbfcb408b7ed8ed567b139b7d29.
2021-12-12 18:25:59 +01:00
mintsuki
5f9ed4c78f
Revert "misc: Allow recovering from panics"
...
This reverts commit 40705e5935a918a37db2941a83b9b191eacca248.
2021-12-12 15:50:39 +01:00
mintsuki
40705e5935
misc: Allow recovering from panics
2021-12-11 22:33:27 +01:00
mintsuki
ca94650094
Revert "stivale2: Add stack validity check"
...
This reverts commit 4a59ba6ba42840b7ee5a1f4bc13f49750621a299.
2021-12-11 22:30:48 +01:00
mintsuki
cf64e8eee1
Revert "stivale2: Only test stack validity if in top 2GiB"
...
This reverts commit eaea24f5521c4c620b63c5a463cb03f8f6fc0451.
2021-12-11 22:30:48 +01:00
mintsuki
f3e64380fc
stivale.32: xorq -> xorl
2021-12-11 22:30:48 +01:00
mintsuki
35100979fc
uefi32: Fix bug introduced in 2f844f3
2021-12-08 21:34:59 +01:00
mintsuki
47db3e8ea8
linux: Ensure loading message shows up before fopen() for modules
2021-12-07 12:30:40 +01:00
mintsuki
72764fe040
stivale2: Only test stack validity if in top 2GiB
2021-12-07 12:30:40 +01:00
mintsuki
c3fbba91c7
stivale2: Add stack validity check
2021-12-07 12:30:40 +01:00
mintsuki
f26c8eacc1
linux: Add TEXTMODE config option
2021-11-27 14:05:24 +01:00
mintsuki
26241bac2e
linux: Fall back to text mode if unable to set video mode (see #137 )
2021-11-27 14:05:24 +01:00
mintsuki
03fdd5a6d2
multiboot1&2: Move kernel loading message to after detection code
2021-11-25 23:14:29 +01:00
mintsuki
abea162c4b
stivale1&2: Pass higher half GDTR.base when returning higher half pointers
2021-11-25 23:14:29 +01:00
mintsuki
bd7bdb9a0c
multiboot1: Allocate root struct on the heap
2021-11-25 23:14:29 +01:00
mintsuki
271c341cec
stivale1&2: Allocate root struct on the heap
2021-11-25 23:14:29 +01:00
mintsuki
ad00b5ca03
stivale2: Implement slide HHDM header tag
2021-11-24 19:08:46 +01:00
mintsuki
692d2a03a8
protos: Implement autodetection
2021-11-24 19:08:46 +01:00
mintsuki
1621063536
stivale2: Implement boot volume struct tag
2021-11-24 19:08:46 +01:00
mintsuki
0b8608620a
term: Introduce quiet mode
2021-11-20 21:57:01 +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
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
mintsuki
0aea16887c
Revert "bootboot: add a delay when assuming the stack size"
...
This reverts commit 252bc5e5245e3a40266cceafde9801ff8d48a4ce.
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
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
mintsuki
5305dc10ca
bootboot: Fix spec compliance as noted in PR #124 comments
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
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