Commit Graph

208 Commits

Author SHA1 Message Date
mintsuki
1ac1343059 mbr: Add extra FAT32 and NTFS signatures to validity check 2022-07-10 22:46:08 +02:00
mintsuki
abf86a561a fat: Make signature checking even more lax 2022-07-10 19:50:19 +02:00
mintsuki
5e0f85727a bios: Get rid of self-modifying interrupt call code 2022-07-10 18:58:17 +02:00
mintsuki
b1672e4ab9 fat: Loosen up check more and lower its priority in file.s2.c 2022-07-09 12:42:34 +02:00
mintsuki
afedae6d08 fat32: Swallow 0x28 and 0xd0 extended boot signatures 2022-07-09 12:25:47 +02:00
mintsuki
71adb6b307 console: Set config_ready to true after successfully running editor 2022-07-09 11:58:03 +02:00
mintsuki
7d78cf4e17 part: Also print fslabel in lsvol 2022-07-07 11:22:43 +02:00
mintsuki
7895c6827c ext: Return NULL from get_label() when no label is present 2022-07-07 11:22:43 +02:00
mintsuki
eafff620d7 uri: Fix call to panic() 2022-07-07 11:18:09 +02:00
mintsuki
ff5d74511a fat: Fix volume label detection 2022-07-07 11:13:45 +02:00
mintsuki
00b9f44255 limine: Fix assignment of paths broken in 0431623 2022-07-07 10:08:55 +02:00
mintsuki
7db783f080 edid: Undo comparison change from 29d63d6 2022-07-06 04:47:42 +02:00
mintsuki
180eb8490a part: Misc EBR-related bug fixes. Fixes #189 2022-07-06 03:17:11 +02:00
mintsuki
009fb59b69 multiboot: Take better care of not having the reloc stub overwritten 2022-07-05 20:42:09 +02:00
mintsuki
8e54ea461b protos: Remove ugly .32.c files and replace them with pure asm files 2022-07-05 18:53:39 +02:00
mintsuki
1dd81d4534 build: Add DWARF debugging sections to linker scripts 2022-07-05 16:41:27 +02:00
mintsuki
6106285d35 build: Move to using external cross-detect package 2022-07-05 09:14:48 +02:00
mintsuki
0431623381 fs: Improve layering in how the filesystem API works 2022-07-04 20:16:33 +02:00
mintsuki
48318c25eb limine: Fix bug where HHDM would be randomised even with KASLR disabled 2022-07-04 08:58:44 +02:00
mintsuki
51b36a79c4 config: Fix macro parsing and expansion bugs 2022-07-02 13:29:18 +02:00
mintsuki
effb82320e config: Fix issue with configs without trailing newline 2022-07-02 12:05:56 +02:00
mintsuki
0f5a467a78 uri: Add fslabel:// URI scheme as mentioned in #188 2022-07-02 10:43:10 +02:00
mintsuki
857dcbbfe7 part: Fix broken sector count normalisation calculation 2022-07-01 18:32:18 +02:00
mintsuki
0a7c1be0bb part: Fix implicit declaration warning 2022-07-01 17:33:59 +02:00
mintsuki
20640083d8 part: Fix long standing issue with GPT logical block sizes and implement lsvol console command 2022-07-01 17:30:53 +02:00
mintsuki
f3621c7bcc acpi: Add EBDA address sanity checks and work around bogus GCC warning 2022-07-01 15:04:57 +02:00
mintsuki
29d63d6b3e gop: Use LocateHandle/HandleProtocol to get GOP instance 2022-07-01 13:08:08 +02:00
mintsuki
55199478db efi: Fix broken assignments of handles_size 2022-07-01 09:07:45 +02:00
mintsuki
f9e90da2c2 efi: Fix potential issues with LocateHandle invocations 2022-07-01 08:03:21 +02:00
mintsuki
098e8679f3 build: Rename freestanding-headers to match upstream 2022-06-30 07:48:42 +02:00
mintsuki
af2f92210a multiboot: Do not panic if unable to set text mode 2022-06-30 07:25:33 +02:00
mintsuki
0fac035a34 multiboot2: Add stub support for relocation header tag 2022-06-30 05:50:31 +02:00
mintsuki
b899d1accd multiboot2: Remove useless, broken comparison 2022-06-29 15:20:09 +02:00
mintsuki
a1bf37382d multiboot2: Bring framebuffer tag up to par with mb1 2022-06-29 13:25:09 +02:00
mintsuki
77b405a6b6 multiboot2: Bring a.out kludge up to par with mb1 2022-06-29 13:04:26 +02:00
mintsuki
94a20e649b multiboot: Fix relocator assembly issues 2022-06-29 12:41:42 +02:00
mintsuki
3d65bfb9b9 misc: Misc elsewhere and multiboot-related bug fixes 2022-06-29 12:32:50 +02:00
mintsuki
215bf87993 misc: Bring mb2 up to par to mb1 wrt everywhere ranges and bug fixes 2022-06-29 10:27:04 +02:00
mintsuki
19287d5ca1 misc: Add elsewhere TU and rework mb1 to use it 2022-06-29 09:34:14 +02:00
mintsuki
e436b763c2 elf: Add elf*_load_elsewhere() functions 2022-06-29 08:16:22 +02:00
mintsuki
4e0ec6d544 elf: Undo all the mess caused by multiboot in preparation for separate functions 2022-06-29 07:48:10 +02:00
mintsuki
a2f7d2d314 multiboot1: Add ahead-of-time info size calculation 2022-06-29 07:26:06 +02:00
mintsuki
d7d0a84462 multiboot1: Properly support relocation for a.out kludge kernels and bug fixes 2022-06-28 11:41:15 +02:00
mintsuki
fba565b34e elf: Add support for sliding and ELF ranges to ELF32 as well 2022-06-28 10:26:14 +02:00
mintsuki
f62345ee64 build: Add generic x86 asm extension grouping 2022-06-28 08:47:40 +02:00
mintsuki
27e2b84e31 elf64: Do not align ELF ranges if using paddr 2022-06-27 15:20:01 +02:00
mintsuki
b9400d2fc9 multiboot: Backport b92d48e to multiboot1 2022-06-27 11:17:47 +02:00
mintsuki
b92d48e44f multiboot(2): Initial support for arbitrary kernel load addresses 2022-06-27 10:55:57 +02:00
mintsuki
0836a62fbd pmm: Minor overhaul to try and fix #185 2022-06-26 04:23:13 +02:00
mintsuki
9c180b4008 pmm: Fix issue with get_memmap() that could cause page table corruption 2022-06-22 22:28:43 +02:00