mintsuki
16abc1df91
build: Use '.' as 'new' dir in -ffile-prefix-map
2024-02-14 18:12:58 +01:00
mintsuki
3096634a6c
build: Misc changes to improve reproducibility of builds
2024-02-14 07:25:46 +01:00
mintsuki
3d6227fe0c
build: Sort source file order (reproducible-builds-0)
2024-02-13 21:14:20 +01:00
mintsuki
bc0b61c4e0
term: Force terminal cols/rows to 80x24 for fallback on UEFI
2024-02-08 09:57:02 +01:00
mintsuki
c0fd295cf4
serial: Add baudrate setting for BIOS
...
Co-authored-by: Bryce Lanham <blanham@gmail.com>
2024-02-08 09:30:59 +01:00
mintsuki
553534e2ff
term: Plug EFI ConOut attribute functions into flanterm palette controls. Fixes #327
2024-02-08 08:36:04 +01:00
mintsuki
785ec7ad0a
term: Force terminal cols/rows to 80x25 for fallback on UEFI
2024-02-07 13:30:03 +01:00
Philipp Schuster
1407f48af1
multiboot2: better logging of unknown and unsupported tags
2024-01-31 16:17:18 +01:00
Philipp Schuster
f5c449ac00
multiboot2: don't fail on 0x9 tag when 0x3 is available
...
A kernel can define multiple entries. Even if they are marked as required,
it makes no sense to panic when there is a valid and expected alternative.
Further, this aligns the behavior with GRUB2.
This solution is however simple, as it expects that all tags appear in
natural order. However, every developer that is sane will order them
naturally.
2024-01-31 16:17:18 +01:00
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