Commit Graph

788 Commits

Author SHA1 Message Date
mintsuki
d914e6e4e4 config: Bring back support for legacy config with a warning 2024-08-02 14:39:14 +02:00
mintsuki
e2e6aeab44 lib/uri: Introduce new file path syntax 2024-08-02 09:58:50 +02:00
mintsuki
f0de656544 protos/limine: Ensure HHDM size does not exceed MAXPHYADDR 2024-08-02 08:23:00 +02:00
mintsuki
8cecd79ddb lib/config: Ignore spaces at beginning of entry name 2024-08-02 06:18:28 +02:00
mintsuki
0357fdb4d8 lib/config: Use / to start entry names instead of : 2024-08-01 16:54:20 +02:00
mintsuki
d554392850 mm/vmm: Fix paging_mode_va_bits() for aarch64 4 level paging and loongarch64 2024-08-01 08:27:30 +02:00
mintsuki
ddd3f5161a config: Change syntax to allow any casing for option names 2024-08-01 06:44:24 +02:00
mintsuki
a014d0758c config: Change syntax to use colon instead of equals for options 2024-08-01 06:27:47 +02:00
mintsuki
04ee581de3 protos/limine: Fix broken comparison introduced in f6c8097c78 2024-08-01 05:51:56 +02:00
Keegan Saunders
d9a2fb95a9 Add LoongArch support 2024-07-31 23:05:27 -04:00
mintsuki
3be68d0502 lib/uri: Remove support for gzip compressed files 2024-07-31 09:10:11 +02:00
mintsuki
c8230baa17 fs/file: Fix IA-32 highly alloced return when returning a ptr to mem file 2024-07-30 12:00:03 +02:00
mintsuki
c62b1502ff protos/limine: Fix bug that made the BIOS port not work when linked with ld.bfd 2024-07-29 21:15:56 +02:00
mintsuki
82d86c2a8c misc: Fix warnings introduced in 65e5db3 2024-07-29 18:54:28 +02:00
mintsuki
65e5db3c80 protos/limine: Implement mechanisms for loading modules above 4GiB for IA-32 2024-07-29 18:44:07 +02:00
mintsuki
a6b5466a5f protos/limine: Limit KASLR wiggle room to a quarter instead of half of the higher half 2024-07-27 08:32:02 +02:00
mintsuki
1186ee2859 protos/limine: Ensure higher half is at least twice the size of HHDM even without KASLR 2024-07-27 08:07:17 +02:00
mintsuki
a5d0f80db7 build: Do not pass -ffile-prefix-map= to the compiler ourselves 2024-07-25 11:49:25 +02:00
mintsuki
cdeb745b66 build: Restore WERROR_FLAG to nasm calls, add NASMFLAGS_FOR_TARGET 2024-07-25 09:45:40 +02:00
mintsuki
d127553a9a menu: Actually reset text palette after printing branding 2024-07-21 14:06:41 +02:00
mintsuki
79f882e50b menu: Add clearer indications of what is wrong when config invalid or missing 2024-07-21 13:59:39 +02:00
mintsuki
568f665be3 drivers/vbe: Improve error handling for get_vbe_mode_info() and set_vbe_mode() 2024-07-21 08:17:17 +02:00
mintsuki
6925846e75 lib/gterm: Fix long standing bug in genloop() that could cause memory corruption 2024-07-21 06:20:10 +02:00
mintsuki
eb6e4850ba vmm/aarch64: Fix paging_mode_va_bits() and paging_mode_higher_half() for 5-level paging 2024-07-21 03:46:52 +02:00
mintsuki
a79ac43e99 Revert "fs: Drop ext2/3/4 support"
This reverts commit 7119459b07.
2024-07-20 19:54:50 +02:00
mintsuki
63427dca3b bios/a20: Add support for fast A20 method. May fix #386 2024-07-20 19:42:58 +02:00
mintsuki
b3385b8027 bios/a20: Improve a20_check(). Could fix #386 2024-07-20 19:30:06 +02:00
mintsuki
ed915c3157 drivers/vbe: Properly return failures from int 0x10/ax=0x4f00 2024-07-20 18:59:26 +02:00
mintsuki
c69ad9683d menu/editor: Fix entry title for serial 2024-07-20 06:30:35 +02:00
mintsuki
82871e8dd9 menu/editor: Add vertical bars around title 2024-07-20 06:13:36 +02:00
mintsuki
6599eba97d protos/limine: Change minimum supported paging mode depending on HHDM span, fail if span too large 2024-07-20 05:25:12 +02:00
mintsuki
3c6ead2440 protos/limine: Specify and implement paging mode request revision 1 2024-07-18 20:22:25 +02:00
mintsuki
4a47c98d3e protos/limine: Add firmware type features 2024-07-18 02:44:36 +02:00
mintsuki
034bfe3000 menu: Fix high entry count support that was broken in 98f30bf. Closes #385 2024-07-16 03:32:22 +02:00
Kacper Słomiński
bb9ffd74d2 protos/linux_risc: Fix warning in table installation code 2024-07-15 01:34:04 +02:00
Kacper Słomiński
9faa0e0f0f protos/linux_risc: Install memory reservation configuration table
This gets rid of some warnings when booting Linux on systems with a GIC v3
interrupt controller.
2024-07-15 01:21:35 +02:00
mintsuki
32a96b4666 drivers/disk: Allocate unique_sector_pool at runtime 2024-07-15 01:03:14 +02:00
mintsuki
a8f6d49c19 drivers/disk: Simplify overly convoluted code to invalidate collision unique sector 2024-07-15 00:16:57 +02:00
mintsuki
5090334a09 drivers/disk: Optimise disk_volume_from_efi_handle() 2024-07-14 21:22:45 +02:00
mintsuki
582a86a7ef protos/linux_risc: Minor code reshuffling to get initramfs loading print to show 2024-07-14 09:32:58 +02:00
mintsuki
f0d64f30a9 protos/linux_risc: Add missing loading prints 2024-07-14 09:19:32 +02:00
mintsuki
a15a75d210 drivers/disk: Get rid of logically broken unique sector detection and replace with working one 2024-07-14 08:30:32 +02:00
mintsuki
a870caf816 menu: Fix bugs relating to returning to editor on blank entry after panic 2024-07-14 05:29:59 +02:00
mintsuki
b258face1c drivers/disk: Ensure disk_volume_from_efi_handle() does not return erroneous results 2024-07-14 04:32:40 +02:00
mintsuki
bc49e9553d dtb: Never pass UEFI DTB buffer directly; fix misuse of libfdt API. Closes #384 2024-07-12 19:09:34 +02:00
mintsuki
3a708d75c6 protos/limine: Do not uselessly allocate SMP stack for BSP 2024-07-12 06:50:17 +02:00
mintsuki
31a7c10dac protos/limine: Do not pass response if 0 framebuffers instead of returning 0 2024-07-12 06:28:06 +02:00
Kacper Słomiński
8de8ee1573 sys/smp: Add support for SMP on non-ACPI AArch64 systems 2024-07-12 05:03:54 +02:00
Kacper Słomiński
fd2ad70604 PROTOCOL: Get rid of unreliable gic_iface_no field on AArch64 2024-07-12 04:58:30 +02:00
mintsuki
cff874e4dd protos/limine: Do not pass response if SMBIOS not present instead of returning NULL 2024-07-12 03:19:45 +02:00