Commit Graph

234 Commits

Author SHA1 Message Date
mintsuki
42d7dfe5dc smp: Make smp_trampoline_size variable instead of symbol 2022-07-28 22:56:05 +02:00
mintsuki
abb37b6943 smp: Do not calculate trampoline size in C file 2022-07-28 22:56:05 +02:00
mintsuki
6f3f16f702 smp/trampoline: Use hand written pos independent code instead of objcopying 2022-07-28 09:41:45 +02:00
mintsuki
9bb7c7e301 Revert "pmm: Fix issue with get_memmap() that could cause page table corruption"
This reverts commit 9c180b4008.
2022-07-26 20:15:43 +02:00
mintsuki
9b73cfa033 pmm: Reclaim bootservices entries last and disallow allocations after 2022-07-26 20:15:43 +02:00
mintsuki
ae9ccdde12 chainload: Add GPT_GUID support and improve documentation. Closes #201 2022-07-26 20:15:43 +02:00
mintsuki
1d314bf3f0 pmm: Fix bugs introduced in 85603ec 2022-07-26 20:15:43 +02:00
mintsuki
76aeff8c0d pmm: Simplify handling EFI memory acquisition and release 2022-07-26 20:15:43 +02:00
mintsuki
f735c855b1 efi: Handle cases where untouched memmap entries are lower than current base 2022-07-24 22:59:57 +02:00
mintsuki
73ac6d9c43 Revert "multiboot: Take better care of not having the reloc stub overwritten"
This reverts commit 009fb59b69.
2022-07-24 22:59:57 +02:00
mintsuki
09a613b3f0 multiboot: Properly check elsewhere returns 2022-07-24 22:59:57 +02:00
mintsuki
30faaf2738 Revert "gensyms: Use as instead of nasm"
This reverts commit cb9c097bcc.
2022-07-24 22:59:57 +02:00
mintsuki
6797e474e2 build: Disable debugging info when building .32 objects 2022-07-18 22:20:43 +02:00
mintsuki
1be0c7f61e build: Move common/{entry.asm_bios_ia32 -> entry_asm.s2.asm_bios_ia32} 2022-07-18 22:20:43 +02:00
mintsuki
982eaa9b79 build: Remove unnecessary -mno-3dnow flag 2022-07-18 22:20:43 +02:00
mintsuki
4d0bca2257 build: Remove unnecessary symbol overrides for stage2only 2022-07-18 22:20:43 +02:00
mintsuki
8d51d4a50e misc: Move 'verbose' declaration to lib/print.h 2022-07-18 22:20:43 +02:00
mintsuki
770eaea421 build: BIOS stage2only build improvements 2022-07-18 22:20:43 +02:00
mintsuki
1d62730b9c build: Remove dummy limine-efi rules 2022-07-18 22:20:43 +02:00
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 77616a0218.
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