Commit Graph

491 Commits

Author SHA1 Message Date
Kacper Słomiński d7966d0bf4 limine: Adjust higher half offsets for AArch64 2023-07-26 17:02:47 -05:00
Kacper Słomiński 1a0c38949b limine: Use a higher-half pointer for the stack on AArch64 2023-07-26 17:02:31 -05:00
mintsuki 051a7a631f misc: Minor updates to linker scripts 2023-07-26 17:02:04 -05:00
mintsuki b059e8661d build: Get rid of OBJCOPY2ELF_FLAGS since only IA-32/BIOS used it 2023-07-26 17:01:50 -05:00
mintsuki dc8700383b elf: elf64_load(): Remove accidentally left in debug code 2023-07-09 04:11:19 +02:00
mintsuki 6b87e3fa3d part: Require keypresses between entry displays in list_volumes() 2023-07-09 04:11:19 +02:00
mintsuki 1235c53da8 misc: Use assembly for memory functions on x86 2023-07-09 04:11:19 +02:00
mintsuki 05cf8dc89c elf: Fix potential uninitialised usage of bss_size 2023-07-09 04:11:19 +02:00
mintsuki 95c6a2dd63 limine/elf: Optimise not to scan .bss for requests 2023-07-09 04:11:19 +02:00
mintsuki 507688261f asm: Add missing section directives 2023-06-20 13:26:27 +02:00
mintsuki 95372b71c9 console: Add firmware type command 2023-06-20 11:10:35 +02:00
mintsuki b15b59659c gensyms: Filter out non-function symbols 2023-06-20 08:54:55 +02:00
mintsuki cc387af31d pmm: Use fixed value of 1024 for recl entries count 2023-06-15 13:08:17 +02:00
mintsuki fe7910cadf pmm: Fix change-memmap-in-use bug 2023-06-15 13:08:17 +02:00
mintsuki 3b9d29385c vmm: Fix page_sizes values and move declaration to top 2023-06-15 10:46:30 +02:00
mintsuki aa926e7a6b limine: Backport paging mode request from trunk 2023-06-15 07:28:08 +02:00
mintsuki fdc1332c34 config: Add and document ARCH built-in macro 2023-06-15 02:34:11 +02:00
mintsuki 9a80df3dd0 build: Fix permissions of output files in makefile instead of release recipe 2023-06-15 01:36:09 +02:00
mintsuki d182cc4bac misc: Updates for new limine-efi 2023-06-12 06:03:09 +02:00
mintsuki 3b199d382a misc: Updates for new flanterm 2023-06-11 04:56:48 +02:00
mintsuki 561af46ab6 protos/linux: Do not zero EFI memmap size on IA-32 EFI 2023-06-06 01:52:03 +02:00
Bryce Lanham dceb954807 Fix netboot in configs where BLOCK_IO does not exist
For example, netbooting qemu-system-aarch64 with no drive specified will
result in OVMF not loading the BLOCK_IO_PROTOCOL, causing a panic in
disk.s2.c.
2023-06-06 01:51:20 +02:00
mintsuki 04a57cdfdd disk/efi: Do not use DISK_IO protocol and fix buffer reuse bug 2023-05-30 22:44:13 +02:00
mintsuki f03b240287 misc: Use C instead of asm for mem*() family of functions 2023-05-30 22:44:13 +02:00
mintsuki 092df95a44 build/uefi: Remove now-useless -DGNU_EFI_USE_MS_ABI flag 2023-05-29 13:15:16 +02:00
mintsuki 6676a3a615 build/uefi: Pass -fshort-wchar to CC 2023-05-29 13:15:16 +02:00
mintsuki fe76ce8f0b elf: Improve detection of relocatable ELFs 2023-05-14 09:28:25 +02:00
mintsuki 2bf751a48a Revert "compress/gz: Add hack to allow macOS compressed GZs to load with stbi"
This reverts commit 1dd75a18ac.
2023-05-03 22:51:14 +02:00
mintsuki a740e84d15 Revert "misc: Revert back to using tinf for all GZ decompression"
This reverts commit 3438b8d235.
2023-05-03 22:51:14 +02:00
mintsuki 5dce921e25 Revert "uri: Backport pre-tinf-removal variable assignments"
This reverts commit 514522125b.
2023-05-03 22:51:14 +02:00
Bryce Lanham f3f09eca49 multiboot1: also fix elf32 section loading
As with the prior mb2 fix, use the correct size elf section header for
32 bit elf
2023-05-03 22:51:14 +02:00
Bryce Lanham b7bca1b000 multiboot2: fix 32 bit elf section loading
Existing code was using 64 bit elf section header unconditionally. This
commit fixes that :)
2023-05-03 22:51:14 +02:00
mintsuki 9ff988ed74 pxe: Add and use constant PXE ACK packet size and fix BIOS PXE ACK struct 2023-04-28 05:21:06 +02:00
mintsuki 27cf36fbc8 menu: Do not initialise textmode terminal if QUIET=yes. Addresses #269 2023-04-28 05:21:06 +02:00
Bryce Lanham 988ca16212 Implement Multiboot2 network tag
Added caching of the dhcp response in the pxe code, and then adding the
tag containing it.
2023-04-28 05:21:06 +02:00
Bryce Lanham 04cc4390b4 Fix PXE BIOS boot when using a proxy DHCP server 2023-04-22 12:16:20 +02:00
mintsuki 09e38cc9c4 build: Pass proper warning flags to nasm 2023-04-22 12:14:14 +02:00
mintsuki 72a6d921c8 multiboot1: Support TEXTMODE config as with Linux/mb2 protocols 2023-04-14 13:41:41 +02:00
mintsuki cbc7e5a860 textmode: Actually disable term hooking on non-managed initialisation 2023-04-14 13:41:41 +02:00
K. Lange 616ee9cf21 multiboot2: ignore unsupported tags if they are marked optional 2023-04-14 13:41:41 +02:00
K. Lange aae6aa1cea multiboot2: Support TEXTMODE config as with linux 2023-04-14 13:41:41 +02:00
mintsuki 77591d21b1 multiboot2: Fix lack of argument to panic format string 2023-04-14 13:41:41 +02:00
mintsuki d1cb337894 build: Reorganise warning flags 2023-04-14 13:41:41 +02:00
mintsuki 86632c703f build: Use uppercase PIE/PIC compilation flags 2023-04-14 13:41:41 +02:00
mintsuki f79c111f19 uri: Backport pre-tinf-removal variable assignments 2023-04-08 03:53:04 +02:00
mintsuki aca7e65c2f misc: Revert back to using tinf for all GZ decompression 2023-04-08 03:53:04 +02:00
mintsuki f297482dd5 limine: Clarify ambiguity with response revision and internal modules 2023-03-30 05:40:21 +02:00
mintsuki 8e97650ae9 limine: Fix issue with internal modules and kernels in root dir 2023-03-30 05:40:21 +02:00
mintsuki 425a2328f0 limine: Mark terminal as deprecated 2023-03-30 05:40:21 +02:00
mintsuki f1f56958ea term: Drop in_bootloader for new Flanterm 2023-03-30 05:40:21 +02:00