Commit Graph

515 Commits

Author SHA1 Message Date
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
mintsuki
46720c6644 menu: Fix maybe uninitialised issue with cur_len var 2023-07-28 04:20:38 -05:00
mintsuki
63938e898b menu: Fix NULL deref bug with shift variable 2023-07-28 04:20:38 -05:00
mintsuki
57cb9561aa console: Add slide command 2023-07-28 04:20:38 -05:00
mintsuki
79b8215e36 menu: Center boot menu 2023-07-28 04:20:38 -05:00
mintsuki
965159978c gterm: Autoscale font on higher resolutions 2023-07-28 04:19:51 -05:00
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