Commit Graph

1152 Commits

Author SHA1 Message Date
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
4349918eae term: Implement interruptible quiet mode 2021-11-23 11:49:48 +01:00
mintsuki
9aa74ba391 panic: Mention CTRL+ALT+DEL in system halted message 2021-11-23 11:49:48 +01:00
mintsuki
9cbe856da0 term: Bug fixes 2021-11-21 01:19:22 +01:00
mintsuki
b0e9007e2c term: Fix bug introduced by last commit 2021-11-20 23:06:41 +01:00
mintsuki
2fba562194 term: When using quiet mode, hide textmode cursor 2021-11-20 22:42:14 +01:00
mintsuki
0b8608620a term: Introduce quiet mode 2021-11-20 21:57:01 +01:00
mintsuki
8ad9ea1767 build: Update documentation for new binary location 2021-11-20 09:15:04 +01:00
mintsuki
7dee049ef8 build: Update release workflow for new binary location 2021-11-20 09:15:04 +01:00
mintsuki
e7b7e12517 build: Do not full-path limine-install Makefile target 2021-11-20 09:14:37 +01:00
mintsuki
0ce2d6387b build: Add regenerate make target 2021-11-20 09:14:12 +01:00
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