689 Commits

Author SHA1 Message Date
mintsuki
77143b153c lib/elf: Use __builtin_popcountg instead of __builtin_popcount 2024-06-04 02:31:01 +02:00
mintsuki
3ce1415a3a lib/elf: Free allocated RELA structs for RELR 2024-06-04 02:11:06 +02:00
mintsuki
54e8882328 lib/elf: Fix a GCC uninitialised var warning 2024-06-04 02:06:03 +02:00
mintsuki
9789274c6d lib/elf: Add RELR support 2024-06-04 01:45:04 +02:00
mintsuki
5a7052d135 lib/elf: Add more and better sanity checks 2024-06-03 22:34:45 +02:00
mintsuki
04f6957f17 lib/elf: Add support for R_*_NONE relocations 2024-06-03 03:29:14 +02:00
mintsuki
89bc8aad5e lib/elf: Optimise is_relocatable() a bit 2024-06-03 02:28:21 +02:00
mintsuki
4c4d79b7fe lib/elf: Move R_AARCH64_ABS64 case where it makes more sense 2024-06-03 01:53:23 +02:00
mintsuki
4b101ddb75 lib/elf: Remove stray semicolon in apply_relocations() 2024-06-03 01:03:10 +02:00
mintsuki
c9cbc359e7 lib/elf: aarch64: Support ABS64 reloc/add r_addend in JUMP_SLOT/GLOB_DAT relocs 2024-06-03 00:42:59 +02:00
mintsuki
77a8af1d0a lib/elf: More sound calculation of relocs_i 2024-06-03 00:14:58 +02:00
mintsuki
6b1e6d88dd lib/elf: Add support for GLOB_DAT, JUMP_SLOT, and 64 relocation types 2024-06-03 00:03:33 +02:00
iillis
b10993f248 Changed unsupported protocol panic message 2024-06-02 18:10:34 +02:00
mintsuki
984576e5b0 misc/lds: .eh_frame -> .eh_frame* 2024-06-01 17:38:23 +02:00
mintsuki
3a51368db6 misc/build: Update limine-efi commit and fixes for linker portability 2024-05-31 21:38:40 +02:00
xvanc
7ac5935b5d
lib/libc: move some functions to libc.c 2024-05-31 12:18:38 -05:00
xvanc
65e2c1b4d8
riscv: add support for device tree 2024-05-30 10:53:21 -05:00
xvanc
1ebeb06570
build: add libfdt 2024-05-30 10:41:45 -05:00
mintsuki
45fb3ded6f misc: Update linker scripts for better ld.gold compat 2024-05-27 00:18:14 +02:00
mintsuki
1811c7f8b7 lib/elf: Do not perform any additional checks if an ELF is both ET_DYN and has a PT_DYNAMIC segment 2024-05-24 10:01:46 +02:00
mintsuki
e8006a442b misc/efi: Make VirtualStart always 0 for created EFI memmap entries 2024-05-23 16:35:42 +02:00
Philipp Schuster
63d29af182 multiboot2: fix efi{32,64]_ih generation 2024-05-22 23:06:06 +02:00
mintsuki
860d1b1da2 lib/elf: Allow loading relocatable higher half kernels with low load addresses 2024-05-22 06:45:50 +02:00
mintsuki
5b1cd9d01b fs/fat: Address missing bpb validity checks. Fixes #351 and #352 2024-05-22 04:44:11 +02:00
mintsuki
705dfa92f6 disk: UEFI: Add additional sector_size == 2048 condition for is_optical 2024-05-08 21:42:29 +02:00
mintsuki
40a772033a disk: BIOS: Yucky workaround to a workaround to an HP Pavillion something 2024-05-08 20:55:27 +02:00
mintsuki
9109b40756 disk: BIOS: Fix wrong logical operator from 9476b3dfaa35a77329686c6e1e10690c6e1a1855 2024-05-07 21:03:15 +02:00
mintsuki
71cfe73d67 disk: BIOS: Work around bogus GCC warning 2024-05-07 20:11:28 +02:00
mintsuki
10e0ca6aaa disk: BIOS: Remove useless disk_read_sectors() call 2024-05-07 20:05:04 +02:00
mintsuki
903662feaf build: Disable werror for nasm due to overly verbose new version 2024-05-07 19:59:12 +02:00
mintsuki
9476b3dfaa disk: BIOS: Use DPTE to determine removable media and BDA disk count to skip broken entries 2024-05-07 19:53:03 +02:00
mintsuki
cd9efbf8b6 limine: Define and implement base revision 2 2024-05-03 19:31:12 +02:00
mintsuki
51304b359d limine: Remove left over start marker comparison code 2024-05-03 07:01:11 +02:00
mintsuki
ba86da93e0 limine: Document and implement requests start marker 2024-05-03 06:43:49 +02:00
mintsuki
51fc81b117 disk: Set MAX_VOLUMES to 256 for UEFI ports 2024-04-29 23:14:48 +02:00
mintsuki
37eb16f431 menu: Minor tweaks to how architecture and firmware are printed 2024-04-29 23:03:43 +02:00
mintsuki
b1810b2409 part: Drop unused list_volumes() function 2024-04-20 01:39:35 +02:00
mintsuki
4fe338c31f misc: readline.h -> getchar.h and drop unused readline() code 2024-04-20 01:32:34 +02:00
mintsuki
87c2cc121d menu: Move fw setup text right if editor disabled 2024-04-20 01:25:43 +02:00
mintsuki
b8a42e2615 menu: Simplify quiet && no menu tree condition 2024-04-20 00:56:22 +02:00
mintsuki
1372451d55 menu: Drop console entirely 2024-04-20 00:48:32 +02:00
mintsuki
17904009ad config: Fix missing NULL check in init_config() 2024-04-19 23:42:57 +02:00
mintsuki
72b9fcbb4c menu: Print ISA name and firmware type as part of branding 2024-04-19 23:21:04 +02:00
mintsuki
2c7378b692 menu: Add blank entry (B) function 2024-04-19 22:27:11 +02:00
mintsuki
4e4105782e misc: No more non-static inline functions in headers 2024-04-10 20:16:37 +02:00
mintsuki
b1140cd653 term: Remove a bunch of dead code 2024-04-10 19:57:18 +02:00
mintsuki
82aa036ab3 term: Fix logic for UEFI fallback_scroll() 2024-04-10 19:41:48 +02:00
mintsuki
89a5f4a31b dependencies: Bump Flanterm 2024-04-09 17:38:43 +02:00
Philipp Schuster
b715948575 misc: init typos for spell checking 2024-04-05 16:42:15 +02:00
mintsuki
001a442750 limine: Add support for MAX_PAGING_MODE config option 2024-03-31 09:04:39 +02:00