Commit Graph

779 Commits

Author SHA1 Message Date
mintsuki
5294b2a4e5 mm/vmm: Fix paging_mode_va_bits() for aarch64 4 level paging and loongarch64 2024-08-02 06:24:33 +02:00
mintsuki
df22413384 protos/limine: Fix broken comparison introduced in f6c8097c78 2024-08-02 06:22:21 +02:00
mintsuki
9c0229dcf1 fs/file: Fix IA-32 highly alloced return when returning a ptr to mem file 2024-07-30 12:07:37 +02:00
mintsuki
f060990228 protos/limine: Fix bug that made the BIOS port not work when linked with ld.bfd 2024-07-29 21:20:30 +02:00
mintsuki
b8a30a8f85 misc: Fix warnings introduced in 65e5db3 2024-07-29 19:11:46 +02:00
mintsuki
d4fed0c086 protos/limine: Implement mechanisms for loading modules above 4GiB for IA-32 2024-07-29 19:11:46 +02:00
mintsuki
11d345ebb0 protos/limine: Limit KASLR wiggle room to a quarter instead of half of the higher half 2024-07-27 09:25:13 +02:00
mintsuki
cf30cb1b39 protos/limine: Ensure higher half is at least twice the size of HHDM even without KASLR 2024-07-27 09:25:13 +02:00
mintsuki
30c8dd3fe1 build: Do not pass -ffile-prefix-map= to the compiler ourselves 2024-07-27 09:25:13 +02:00
mintsuki
caf80b196a build: Restore WERROR_FLAG to nasm calls, add NASMFLAGS_FOR_TARGET 2024-07-27 09:25:13 +02:00
mintsuki
d4058b5cb1 menu: Actually reset text palette after printing branding 2024-07-21 14:35:12 +02:00
mintsuki
f50f46eca7 menu: Add clearer indications of what is wrong when config invalid or missing 2024-07-21 14:35:12 +02:00
mintsuki
ecf19e4766 drivers/vbe: Improve error handling for get_vbe_mode_info() and set_vbe_mode() 2024-07-21 14:35:12 +02:00
mintsuki
7703eaa1ca lib/gterm: Fix long standing bug in genloop() that could cause memory corruption 2024-07-21 14:35:12 +02:00
mintsuki
f8840eae87 vmm/aarch64: Fix paging_mode_va_bits() and paging_mode_higher_half() for 5-level paging 2024-07-21 14:35:12 +02:00
mintsuki
795f58a613 Revert "fs: Drop ext2/3/4 support"
This reverts commit 7119459b07.
2024-07-21 14:35:12 +02:00
mintsuki
f328145907 bios/a20: Add support for fast A20 method. May fix #386 2024-07-21 14:35:12 +02:00
mintsuki
b6da3ed850 bios/a20: Improve a20_check(). Could fix #386 2024-07-21 14:35:12 +02:00
mintsuki
d1ad6d6285 drivers/vbe: Properly return failures from int 0x10/ax=0x4f00 2024-07-21 14:35:12 +02:00
mintsuki
923412b90d menu/editor: Fix entry title for serial 2024-07-21 14:35:12 +02:00
mintsuki
57f77a8514 menu/editor: Add vertical bars around title 2024-07-21 14:35:12 +02:00
mintsuki
f6c8097c78 protos/limine: Change minimum supported paging mode depending on HHDM span, fail if span too large 2024-07-21 14:35:12 +02:00
mintsuki
0a92f64554 protos/limine: Specify and implement paging mode request revision 1 2024-07-18 23:13:41 +02:00
mintsuki
776e46cf44 protos/limine: Add firmware type features 2024-07-18 23:13:41 +02:00
mintsuki
57389b6ad0 menu: Fix high entry count support that was broken in 98f30bf. Closes #385 2024-07-16 03:46:24 +02:00
Kacper Słomiński
51ca2c44d4 protos/linux_risc: Fix warning in table installation code 2024-07-16 03:46:24 +02:00
Kacper Słomiński
5cc85aa66f 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-16 03:46:24 +02:00
mintsuki
f3247cb530 drivers/disk: Allocate unique_sector_pool at runtime 2024-07-16 03:46:24 +02:00
mintsuki
78d2907ce9 drivers/disk: Simplify overly convoluted code to invalidate collision unique sector 2024-07-16 03:46:24 +02:00
mintsuki
4e666fd9a9 drivers/disk: Optimise disk_volume_from_efi_handle() 2024-07-16 03:46:24 +02:00
mintsuki
63e5ce70af protos/linux_risc: Minor code reshuffling to get initramfs loading print to show 2024-07-14 09:33:28 +02:00
mintsuki
399f767fa3 protos/linux_risc: Add missing loading prints 2024-07-14 09:22:28 +02:00
mintsuki
f8c2f330b9 drivers/disk: Get rid of logically broken unique sector detection and replace with working one 2024-07-14 09:22:28 +02:00
mintsuki
359742bfc6 menu: Fix bugs relating to returning to editor on blank entry after panic 2024-07-14 09:22:28 +02:00
mintsuki
5714d3ce36 drivers/disk: Ensure disk_volume_from_efi_handle() does not return erroneous results 2024-07-14 09:22:28 +02:00
mintsuki
3759fa111b dtb: Never pass UEFI DTB buffer directly; fix misuse of libfdt API. Closes #384 2024-07-12 22:03:30 +02:00
mintsuki
8ffa8e1a93 protos/limine: Do not uselessly allocate SMP stack for BSP 2024-07-12 07:13:08 +02:00
mintsuki
d65863b274 protos/limine: Do not pass response if 0 framebuffers instead of returning 0 2024-07-12 07:13:08 +02:00
Kacper Słomiński
19fd604232 sys/smp: Add support for SMP on non-ACPI AArch64 systems 2024-07-12 07:13:08 +02:00
Kacper Słomiński
b27e1bcb58 PROTOCOL: Get rid of unreliable gic_iface_no field on AArch64 2024-07-12 07:13:08 +02:00
mintsuki
b56acdb07d protos/limine: Do not pass response if SMBIOS not present instead of returning NULL 2024-07-12 07:13:08 +02:00
mintsuki
88242b8bdd protos/limine: Do not pass response if RSDP not present instead of returning NULL 2024-07-12 07:13:08 +02:00
mintsuki
445715fe55 protos/limine: Remove left over stray line from 50a949dd0a 2024-07-06 20:57:39 +02:00
mintsuki
1e60942ec9 protos/limine: Do not ignore MAX_PAGING_MODE config setting if paging mode request missing. Closes #380 2024-07-06 20:57:39 +02:00
mintsuki
2c09275aab lib/elf: Apply a slide of 0xffffffff80000000 - min_vaddr instead of always 0xffffffff80000000 for relocatable kernels loaded low 2024-07-06 20:57:39 +02:00
mintsuki
ad262c8fbb smp: Return NULL instead of 0 CPU count if no processors were started 2024-07-06 20:57:15 +02:00
mintsuki
693684c0bd lib/elf: Relax ELF file type checks in elf*_load_elsewhere() 2024-06-28 08:03:04 +02:00
Kacper Słomiński
bca7c4a796 protos/linux_risc: Document need for the linux,uefi-secure-boot property 2024-06-28 08:03:04 +02:00
Kacper Słomiński
c936305f37 protos/limine: Find device tree using helper function 2024-06-28 04:30:42 +02:00
Kacper Słomiński
ee5096ed84 protos/linux_risc: Tell Linux about the framebuffer 2024-06-28 04:14:31 +02:00