Commit Graph

515 Commits

Author SHA1 Message Date
mintsuki
7394f84477 elf: Print out range addresses on allocation failure 2021-12-07 12:30:40 +01:00
mintsuki
c77d46986f elf: Add guards to prevent non-higher half 64-bit kernels from loading when using PMRs or fully virtual mappings 2021-12-06 00:26:51 +01:00
mintsuki
3fe82174f7 pmm: Mark Limine image wholly as bootloader reclaimable in memory map when using UEFI 2021-12-02 01:33:17 +01:00
mintsuki
2f7e4c6c80 main: Add autodetection prompt instead of doing it automatically 2021-11-30 00:58:35 +01:00
mintsuki
073edecc36 elf: Silence excessive verbosity 2021-11-30 00:58:35 +01:00
mintsuki
ecdc71e08a build: Fix up MKESCAPE macro logic 2021-11-30 00:58:35 +01:00
mintsuki
624228c83c build: Initial support for special characters in build path 2021-11-30 00:58:35 +01:00
pitust
f8c3ba6716 fix my tabs 2021-11-30 00:58:35 +01:00
pitust
98d43c1428 fwcfg: implement the fw_cfg interface 2021-11-30 00:58:35 +01:00
mintsuki
f26c8eacc1 linux: Add TEXTMODE config option 2021-11-27 14:05:24 +01:00
mintsuki
4730c7ed2b vbe&gop: Add 24 and 16 bpp modes to list of fallbacks (see #137) 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
c5da575520 Revert "build: Support spaces in build directory"
This reverts commit d815c3d732.
2021-11-26 14:52:36 +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
848d53e147 gdt: Allocate GDT on the heap on UEFI 2021-11-25 23:14:29 +01:00
mintsuki
9c6ea6b2b3 pmm: Work around sanitiser side effect introduced in b5eea0c 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
0ce97ee621 build: Support spaces in build directory 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
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
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
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
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
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
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