Commit Graph

622 Commits

Author SHA1 Message Date
mintsuki
dbbede616b build: Use git for all subprojects 2024-01-26 01:13:18 +01:00
mintsuki
cf22ba1971 menu: Fix cosmetic bug where controls list was wrong when editor disabled 2024-01-23 08:14:41 +01:00
mintsuki
dc0b19858e misc: Rename .c files in common/cc-runtime to .s2.c for stage2 inclusion 2024-01-22 04:09:45 +01:00
mintsuki
34ce023427 misc: Use KEEP directive on .pe_header section of UEFI LD scripts 2024-01-21 20:34:31 +01:00
mintsuki
ffd67aecbc misc: Use cc-runtime instead of libgcc-binaries 2024-01-21 18:26:07 +01:00
mintsuki
2afb8e64eb misc: Avoid usage of reserved identifiers in certain cases. Closes #325 2024-01-20 21:35:42 +01:00
pitust
43470ac090 spinup/aarch64: use *_EL12 when HCR_EL2.E2H=1 while dropping to EL1 2024-01-14 19:20:45 +01:00
mintsuki
d410508f5e build: Enable masked character plotting for new Flanterm 2024-01-13 20:08:50 +01:00
pitust
fc055fbabd readline: handle ASCII newline the same as a carriage return 2024-01-11 20:38:22 +01:00
mintsuki
4b7911ebd5 limine: Only print missing internal module warning on verbose 2024-01-07 01:52:21 +01:00
mintsuki
cc579a8da2 limine: Add compressed internal modules support. Closes #324 2024-01-07 01:52:21 +01:00
mintsuki
8cbac6145c misc: Update copyright years 2024-01-02 19:20:49 +01:00
mintsuki
c4a8aada42 config: Discard trailing whitespace. Closes #321 2023-12-26 18:48:47 +01:00
mintsuki
0d729c987e misc: Fix an unused arguments warning 2023-12-10 03:14:39 +01:00
mintsuki
7119459b07 fs: Drop ext2/3/4 support 2023-12-10 03:14:26 +01:00
mintsuki
8c265fd143 chainload: Split up BIOS and EFI chainloading into 2 different protocols 2023-12-10 03:14:11 +01:00
mintsuki
b04f29b00e docs: Get rid of last remaining mentions of stivale(2) 2023-12-10 03:07:42 +01:00
mintsuki
f6ba1f37cd menu: Update VALID_KEYS array 2023-12-10 03:07:32 +01:00
mintsuki
20d80661a2 docs/config: Remove mentions of TERM_CONFIG_OVERRIDE as it no longer exists 2023-12-10 03:07:32 +01:00
mintsuki
665f3128dc pmm: Significantly improve check_usable_memory() implementation 2023-12-07 02:26:24 +01:00
mintsuki
f133264990 elf: Fix issue introduced in 9fb8d5e8 where elf/elsewhere functions accidentally used vaddrs 2023-12-07 02:26:24 +01:00
mintsuki
1c51ef85b0 Revert "misc/efi: Call SetVirtualAddressMap when exiting boot services"
This reverts commit 0a27376a2b.
2023-12-07 00:37:08 +01:00
mintsuki
101d04493d limine: Gate EFI memory map feature out of BIOS port 2023-12-07 00:31:45 +01:00
mintsuki
302d57e47d limine: Add EFI memory map feature 2023-12-07 00:31:45 +01:00
mintsuki
40313b25ec multiboot2: Add support for console flags header tag 2023-12-07 00:31:45 +01:00
mintsuki
d527109ca8 multiboot2: Fix some warnings discovered by GCC 2023-12-07 00:31:45 +01:00
mintsuki
38af3f9843 multiboot2: Initial support for relocatable header tag 2023-12-07 00:31:45 +01:00
48cf
0a27376a2b misc/efi: Call SetVirtualAddressMap when exiting boot services 2023-12-07 00:31:17 +01:00
48cf
25686280bc menu: Support rebooting to UEFI firmware setup. Closes #299 2023-11-24 03:15:33 +01:00
48cf
6374a0027b smp/aarch64: Fix trampoline alignment and allocation size 2023-11-24 03:15:33 +01:00
mintsuki
99e357445b mm/mtrr: Do not gate cr3 flush to UEFI only 2023-11-14 08:32:48 +01:00
mintsuki
a7bac25397 mm/mtrr: Gate to x86 only 2023-11-14 08:32:48 +01:00
mintsuki
54f3118f4c sys/smp: Synchronise AP MTRRs with the BSP 2023-11-14 08:32:48 +01:00
mintsuki
f51d864c63 mm/mtrr: Readd limited support to save/restore 2023-11-14 08:32:48 +01:00
mintsuki
4321d910f6 limine: Fix bug where on 32-bit ports, .limine_reqs section was not parsed correctly 2023-11-03 06:24:58 +01:00
mintsuki
4ade725b78 limine: Deprecate .limine_reqs and remove it as of base revision 1 2023-11-03 06:24:58 +01:00
mintsuki
26e77b877b pmm: Define MEMMAP_MAX to 256 and 1024 for BIOS and UEFI respectively 2023-11-03 06:24:58 +01:00
mintsuki
30397df228 limine: Specify and implement base revision 1 memory mappings 2023-11-03 06:24:58 +01:00
mintsuki
2c8c0c3deb Revert "misc: Converge with 5.x"
This reverts commit f9682543fd.
2023-11-03 06:24:58 +01:00
mintsuki
8c2ef81414 limine: Add way for kernel to determine whether base revision is supported 2023-11-03 06:24:58 +01:00
mintsuki
553c7b2945 limine: Slight change of how base revision is determined 2023-11-03 06:24:58 +01:00
mintsuki
f4b78bec63 limine: Add support for base protocol revisions 2023-11-03 06:24:58 +01:00
mintsuki
cad3c72fce config: Fix bug where macro definitions were not skipped over properly when parsing 2023-10-29 04:27:04 +01:00
mintsuki
a0127f9f40 pmm: Add MEMMAP_MAX macro and use it instead of hardcoding 256 2023-10-24 18:38:18 +02:00
mintsuki
e49865a467 lib/time: EFI: Return time of 0 if GetTime() unsupported 2023-10-24 18:38:18 +02:00
48cf
2bba72634f lib/gterm: Try to initialize all 32-bpp framebuffers 2023-10-24 18:38:18 +02:00
48cf
45b39285f1 pmm: Ignore allow_high_allocs on non x86-64 architectures 2023-10-24 18:38:18 +02:00
mintsuki
c1860c8d80 limine/ioapic: Change spec to avoid masking IOAPIC RTEs unless Fixed or Lowest Priority 2023-10-24 01:21:24 +02:00
mintsuki
c1f5b21177 misc: Remove unnecessary ifdefs added in previous commits 2023-10-06 12:25:44 -05:00
mintsuki
b474b6bad0 misc: Only allocate memory and modules above 4GiB on 64-bit platforms 2023-10-06 12:25:44 -05:00