215 Commits

Author SHA1 Message Date
mintsuki
065b37ca93 build: Update linker scripts and fix minor makefile issue 2022-07-18 22:20:43 +02:00
mintsuki
7e81f5a852 mbr: Relax MBR validation requirements. Closes #195 2022-07-16 19:27:32 +02:00
mintsuki
3a7172abf7 misc: Fix broken memcmp() 2022-07-14 20:19:50 +02:00
mintsuki
d01cac744a chainload: Fix bug where PARTITION was ignored if MBR_ID was set. Addresses #197 2022-07-14 20:19:50 +02:00
mintsuki
e02dcc5a53 fwcfg: Drop support 2022-07-14 20:19:50 +02:00
mintsuki
8309e2d12a Revert "bios: Get rid of self-modifying interrupt call code"
This reverts commit 77616a02188e5713d911b136c2e447dd52075c27.
2022-07-11 15:59:28 +02:00
mintsuki
956b7db3b0 chainload: Implement MBR_ID config option. Closes #190 2022-07-11 01:46:17 +02:00
mintsuki
9ebd6e10de chainload_next: Fix some UEFI bugs 2022-07-11 01:46:17 +02:00
mintsuki
dacf1fb0a8 chainload_next: Pass config through to chainload on UEFI 2022-07-11 01:46:17 +02:00
mintsuki
148183248d protos: Fix typo in chainload_next.c 2022-07-11 01:46:17 +02:00
mintsuki
d351ed87cd protos: Add chainload_next protocol. Closes #191 2022-07-11 01:46:17 +02:00
mintsuki
512a5fcc60 mbr: Add extra FAT32 and NTFS signatures to validity check 2022-07-11 01:46:17 +02:00
mintsuki
e7e73ae6fe fat: Make signature checking even more lax 2022-07-11 01:46:17 +02:00
mintsuki
77616a0218 bios: Get rid of self-modifying interrupt call code 2022-07-11 01:46:17 +02:00
mintsuki
b800cbb2da fat: Loosen up check more and lower its priority in file.s2.c 2022-07-09 14:06:58 +02:00
mintsuki
2004666d01 fat32: Swallow 0x28 and 0xd0 extended boot signatures 2022-07-09 14:06:58 +02:00
mintsuki
d90bc6bc45 console: Set config_ready to true after successfully running editor 2022-07-09 14:06:58 +02:00
mintsuki
9e85196c25 build: Add .a files to discard section in ld scripts 2022-07-09 13:44:37 +02:00
mintsuki
403f881e69 part: Also print fslabel in lsvol 2022-07-07 11:31:43 +02:00
mintsuki
9dce9c7bb3 ext: Return NULL from get_label() when no label is present 2022-07-07 11:31:43 +02:00
mintsuki
9efd9deb37 uri: Fix call to panic() 2022-07-07 11:31:43 +02:00
mintsuki
54b0bed9de fat: Fix volume label detection 2022-07-07 11:31:43 +02:00
mintsuki
d92ebab682 limine: Fix assignment of paths broken in 0431623 2022-07-07 11:31:43 +02:00
mintsuki
778aba2f36 edid: Undo comparison change from 29d63d6 2022-07-06 05:03:22 +02:00
mintsuki
1c466b37fa part: Misc EBR-related bug fixes. Fixes #189 2022-07-06 05:03:22 +02:00
mintsuki
bfbe8e005a multiboot: Take better care of not having the reloc stub overwritten 2022-07-05 21:42:59 +02:00
mintsuki
99d7dbbd17 build: Move to using external cross-detect package 2022-07-05 21:42:59 +02:00
mintsuki
1309424346 fs: Improve layering in how the filesystem API works 2022-07-05 21:42:59 +02:00
mintsuki
fff40c5d8a limine: Fix bug where HHDM would be randomised even with KASLR disabled 2022-07-05 21:42:59 +02:00
mintsuki
4619a9dac1 config: Fix macro parsing and expansion bugs 2022-07-02 13:37:34 +02:00
mintsuki
8a060839fb config: Fix issue with configs without trailing newline 2022-07-02 13:37:34 +02:00
mintsuki
6d973a0e00 uri: Add fslabel:// URI scheme as mentioned in #188 2022-07-02 13:37:34 +02:00
mintsuki
2f2eda8a64 part: Fix broken sector count normalisation calculation 2022-07-01 19:09:38 +02:00
mintsuki
e2c71e7f69 part: Fix implicit declaration warning 2022-07-01 19:09:38 +02:00
mintsuki
6a59da5ab8 part: Fix long standing issue with GPT logical block sizes and implement lsvol console command 2022-07-01 19:09:38 +02:00
mintsuki
19d2e64fb7 acpi: Add EBDA address sanity checks and work around bogus GCC warning 2022-07-01 19:09:38 +02:00
mintsuki
453e48a440 gop: Use LocateHandle/HandleProtocol to get GOP instance 2022-07-01 19:09:38 +02:00
mintsuki
eefc55c9e5 efi: Fix broken assignments of handles_size 2022-07-01 19:09:38 +02:00
mintsuki
6f18e7545e efi: Fix potential issues with LocateHandle invocations 2022-07-01 19:09:38 +02:00
mintsuki
b3af3b998a build: Rename freestanding-headers to match upstream 2022-06-30 08:02:37 +02:00
mintsuki
986cd6a85e multiboot: Do not panic if unable to set text mode 2022-06-30 08:02:37 +02:00
mintsuki
e4d2be7a7a multiboot2: Add stub support for relocation header tag 2022-06-30 08:02:37 +02:00
mintsuki
2df54d4065 stivale(2): Adapt elf64_load() call to ELF API change 2022-06-29 15:53:02 +02:00
mintsuki
ef9ad8ec65 multiboot2: Remove useless, broken comparison 2022-06-29 15:41:44 +02:00
mintsuki
a8ce9ef3ef multiboot2: Bring framebuffer tag up to par with mb1 2022-06-29 15:41:44 +02:00
mintsuki
0c30f689d9 multiboot2: Bring a.out kludge up to par with mb1 2022-06-29 15:41:44 +02:00
mintsuki
ee3bb6304d multiboot: Fix relocator assembly issues 2022-06-29 15:41:44 +02:00
mintsuki
05c0508c31 misc: Misc elsewhere and multiboot-related bug fixes 2022-06-29 15:41:44 +02:00
mintsuki
a5ad68b181 misc: Bring mb2 up to par to mb1 wrt everywhere ranges and bug fixes 2022-06-29 15:41:44 +02:00
mintsuki
a24bf3b424 misc: Add elsewhere TU and rework mb1 to use it 2022-06-29 15:41:44 +02:00