Commit Graph

546 Commits

Author SHA1 Message Date
mintsuki aceac9c86e pmm: Add MEMMAP_MAX macro and use it instead of hardcoding 256 2023-10-24 18:34:12 +02:00
mintsuki cadeabc70b lib/time: EFI: Return time of 0 if GetTime() unsupported 2023-10-24 18:34:12 +02:00
48cf 9bcea9911c lib/gterm: Try to initialize all 32-bpp framebuffers 2023-10-24 18:33:44 +02:00
48cf 3f040cf1a9 pmm: Ignore allow_high_allocs on non x86-64 architectures 2023-10-24 18:32:37 +02:00
mintsuki de7dff1d4f limine/ioapic: Change spec to avoid masking IOAPIC RTEs unless Fixed or Lowest Priority 2023-10-24 01:16:12 +02:00
mintsuki 6529246e84 misc: Remove unnecessary ifdefs added in previous commits 2023-10-06 12:19:45 -05:00
mintsuki b2becebbf9 misc: Only allocate memory and modules above 4GiB on 64-bit platforms 2023-10-06 12:19:45 -05:00
mintsuki b2da2d701e pmm: Allow allocations above 4GiB and use them in freadall() 2023-10-06 12:19:45 -05:00
mintsuki d012aacfbc build: Fix makefile target dependencies bug introduced in a0c2f95 2023-09-28 17:47:14 -05:00
mintsuki 7336d25d48 build: Fix bug introduced in 7885f260 due to a misunderstanding of an objcopy flag 2023-09-28 16:02:52 -05:00
mintsuki 58949b6acd build: Fix indentation issue in common/GNUmakefile 2023-09-28 06:52:03 -05:00
mintsuki 3f750a77aa build: ldscripts: .reloc -> .dummy_reloc 2023-09-28 06:52:03 -05:00
mintsuki d7f172f9cb build: Fix race conditions introduced in 22d45a5428 2023-09-28 06:51:51 -05:00
mintsuki e8d5818061 misc: Add .note.GNU-stack where it was still missing 2023-09-28 06:50:30 -05:00
mintsuki e402dec88a misc: Add section .note.GNU-stack to assembly files 2023-09-28 06:49:54 -05:00
mintsuki 20774186bf time: Change signature of get_jdn() to use int types 2023-09-28 06:48:56 -05:00
mintsuki 9bf2543b25 elf: Panic if there are PHDRs with different perms sharing same page 2023-09-24 01:56:16 -05:00
mintsuki c9c5a1ad7d smp: Remove dead 32-bit trampoline code 2023-09-23 17:34:15 -05:00
mintsuki fd73ea7cd0 menu: Fix padding issue introduced in e1d25f8 2023-09-22 16:38:44 -05:00
mintsuki a6e115d486 misc: Backports from trunk 2023-09-16 16:53:40 -05:00
mintsuki 1b72dd32a0 misc: aarch64: Remove unused enter_in_current_el() function 2023-09-16 16:52:46 -05:00
mintsuki 068b06e7ac misc: Consistently call x86-64 such, instead of x86_64 2023-09-16 11:41:33 -05:00
xvanc bb3d0b81c2 acpi: remove duplicate definition in sys/lapic.c 2023-09-16 11:39:58 -05:00
xvanc f7bee447a8 lib/libc: add misc utilities 2023-09-16 11:39:40 -05:00
xvanc 9249edf772 acpi: move acpi structure defs to lib/acpi.h 2023-09-16 11:39:11 -05:00
mintsuki 0693d86cb0 misc/bios: Update and improve linker script and related files 2023-09-11 17:13:31 -05:00
mintsuki 7d527d867c protos/chainload: Fix bug that could result in bogus oom errors. Fixes #302 2023-09-11 17:13:31 -05:00
Kacper Słomiński e53acb997a protos: chainload: Allocate memory for the null terminator in cmdline 2023-09-11 17:13:31 -05:00
mintsuki 7305724b95 misc: Misc EFI linker script improvements and drop .sbat 2023-09-11 17:13:31 -05:00
mintsuki f5e43d2e9b misc: Improve UEFI linker scripts 2023-09-09 15:54:49 -05:00
mintsuki 559bb10fa9 x86/gdt: Mark accessed flag in descriptors 2023-09-09 10:08:00 -05:00
mintsuki b97fd36385 build: Drop -mabi=sysv for x86 for clang 16 2023-08-29 22:18:47 -05:00
mintsuki 4a46597fcc config: Disable editor by default if config b2sum present. Fixes #296 2023-08-29 22:18:32 -05:00
mintsuki 3f0591ee8c menu: Change menu arrow to use unicode big arrow 2023-08-29 22:18:22 -05:00
mintsuki 88bdc3b074 gterm: Update font's big left and right arrows 2023-08-29 22:18:07 -05:00
mintsuki 10a7d39c66 disk: BIOS: Skip drive if sector size is 0. Fixes #294 2023-08-19 08:11:51 -05:00
Kacper Słomiński 6ab35406d3 smp: aarch64: Don't needlessly invalidate the data cache
Also get rid of the function to do clean + invalidate as not to be
tempted by it.
2023-08-18 13:34:18 -05:00
Kacper Słomiński f694d37027 elf: aarch64: Don't needlessly invalidate the data cache
Cleaning the data cache to PoC without invalidating it is enough when
invalidating the instruction cache to PoU.
2023-08-18 13:33:58 -05:00
mintsuki f784baf397 elf: elf64_load_section(): Return false early if sh_num == 0 2023-08-18 13:33:40 -05:00
mintsuki 57c6490a32 disk: Add additional volume_index_i overflow guards 2023-08-18 13:33:23 -05:00
mintsuki 4d489c3388 exceptions: Change naming of exceptions in panic message 2023-08-18 13:33:10 -05:00
mintsuki 0baf774eef limine: Do not return SMBIOS response if not present 2023-08-11 10:24:36 -05:00
mekb 2831ef370c menu: Add option to hide help text 2023-08-11 10:09:33 -05:00
mintsuki d9e51dc7c8 gterm: Change resolutions at which autoscaling is triggered 2023-07-29 11:56:59 -05:00
mintsuki d31db59c1d menu: Center menu vertically 2023-07-29 11:56:59 -05:00
mintsuki 098eb82dd2 gop: Readd preset mode storage 2023-07-29 11:56:59 -05:00
mintsuki d951e40de9 menu: Do not draw box around boot menu 2023-07-29 11:56:59 -05:00
mintsuki e17639fb7e menu: Adjust centering by 2 characters to the left 2023-07-28 04:20:38 -05:00
mintsuki b417c3cb8d menu: Fix a couple of boot menu alignment issues 2023-07-28 04:20:38 -05:00
mintsuki 5ebe3b0e66 menu: Initialise max_len if null regardless of shift 2023-07-28 04:20:38 -05:00