Commit Graph

2212 Commits

Author SHA1 Message Date
mintsuki
f9682543fd misc: Converge with 5.x 2023-09-22 17:51:07 -05:00
mintsuki
d9f8ce2b6f limine: Make explicit some implied padding in some structures 2023-09-20 17:33:42 -05:00
mintsuki
644257b0af test: riscv64: Fix issue with OVMF not working on latest QEMU 2023-09-20 12:55:13 -05:00
mintsuki
98309f6bb7 smp: Fix up x86 trampoline TLB clearing to use non clobbered register 2023-09-20 00:09:19 -05:00
mintsuki
da0378cce6 menu: Fix padding issue introduced in e1d25f8 2023-09-19 23:52:42 -05:00
mintsuki
8548da7994 docs: Update example Limine version in README to 5.20230917.0 2023-09-16 17:13:38 -05:00
mintsuki
69f97ecfd5 docs: PROTOCOL.md: Fix minor grammar mistakes 2023-09-16 16:34:15 -05:00
mintsuki
14037f4dc5 limine: Fix up junk introduced by 303592f9e7 2023-09-16 15:51:49 -05:00
mintsuki
f7368f8abf misc: Consistently call x86-64 such, instead of x86_64 2023-09-16 11:07:44 -05:00
mintsuki
61c068df44 docs: PROTOCOL.md: Minor fixes 2023-09-16 10:28:57 -05:00
mintsuki
ca7fb9760b smp/x86: Trampoline: clear TLB before jumping to kernel code 2023-09-16 00:20:32 -05:00
mintsuki
db04cd2595 limine: cpu: Specify state of PAT at entry and implement it 2023-09-15 21:51:11 -05:00
ミンツキ
7326a3dadf
Merge pull request #303 from xvanc/trunk
riscv: implement extension detection and support for `Svpbmt`
2023-09-15 17:06:09 -05:00
xvanc
1352a6384b
riscv: skip rv{32,64} prefix when parsing extensions from isa strings 2023-09-13 18:57:46 -05:00
xvanc
c1a67396bc
acpi: remove duplicate definition in sys/lapic.c 2023-09-13 10:18:09 -05:00
xvanc
f5c79b3cf6
riscv/vmm: use Svpbmt extension when available 2023-09-13 10:12:38 -05:00
xvanc
3c2a0f5717
riscv: refactor smp init 2023-09-13 09:37:43 -05:00
xvanc
e847d60910
riscv: implement feature dectection 2023-09-13 09:35:30 -05:00
xvanc
3d67b22786
lib/libc: add misc utilities 2023-09-13 09:22:50 -05:00
xvanc
e77fc9b446
acpi: move acpi structure defs to lib/acpi.h 2023-09-13 09:14:40 -05:00
mintsuki
4470aa0cfa test: Use -dumpmachine to find architecture instead of expecting -target 2023-09-11 17:02:57 -05:00
mintsuki
4b08bede0e misc/bios: Update and improve linker script and related files 2023-09-11 16:48:37 -05:00
mintsuki
277cec6c88 protos/chainload: Fix bug that could result in bogus oom errors. Fixes #302 2023-09-11 15:31:43 -05:00
mintsuki
898fe82b62 decompressor: Mark .entry section with proper flags in entry.asm 2023-09-11 06:49:42 -05:00
mintsuki
980423eb16 decompressor: Add rodata PHDR and section to ld script 2023-09-11 06:49:14 -05:00
Kacper Słomiński
ae7e86e0f0 protos: chainload: Allocate memory for the null terminator in cmdline 2023-09-11 06:22:08 -05:00
mintsuki
0a0e2018e9 misc: Misc EFI linker script improvements and drop .sbat 2023-09-11 04:27:02 -05:00
mintsuki
d227975b96 docs: Update example Limine version in README to 5.20230909.0 2023-09-09 16:06:21 -05:00
mintsuki
62219b366b misc: Improve UEFI linker scripts 2023-09-09 15:49:17 -05:00
mintsuki
9c17914e33 docs: README.md: Fix minor grammar mistake 2023-09-09 09:52:17 -05:00
mintsuki
b1c5f561d4 stage1/gdt: Mark accessed flag in descriptors 2023-09-09 09:45:47 -05:00
mintsuki
9d10f95010 docs: Remove references to shim as we don't directly support it 2023-09-09 06:45:53 -05:00
mintsuki
094e6b2891 x86/gdt: Mark accessed flag in descriptors 2023-09-08 12:35:32 -05:00
ミンツキ
3845bf05fc
Merge pull request #297 from xvanc/trunk
docs: caching/riscv: add info about caching
2023-09-06 19:36:27 -05:00
xvanc
c1cc581816
docs: caching/riscv: add info about caching 2023-09-06 19:31:31 -05:00
mintsuki
dcc7832cca docs: Update example Limine version in README to 5.20230830.0 2023-08-29 22:33:29 -05:00
mintsuki
5619c190c9 build: Drop -mabi=sysv for x86 for clang 16 2023-08-29 21:39:27 -05:00
mintsuki
2542a28e64 config: Disable editor by default if config b2sum present. Fixes #296 2023-08-29 21:14:26 -05:00
mintsuki
166f3da39e menu: Change menu arrow to use unicode big arrow 2023-08-27 02:29:43 -05:00
mintsuki
a9331669c7 gterm: Update font's big left and right arrows 2023-08-27 02:23:14 -05:00
mintsuki
e03019b854 smp: Set up PAT properly on APs 2023-08-21 18:38:48 -05:00
mintsuki
3d0580bc5f docs: Update example Limine version in README to 5.20230819.0 2023-08-19 08:44:40 -05:00
mintsuki
0e3829b5d1 limine: Fix common_spinup() argument count 2023-08-19 08:34:54 -05:00
mintsuki
4771f00b78 disk: BIOS: Skip drive if sector size is 0. Fixes #294 2023-08-19 08:04:43 -05:00
Kacper Słomiński
08bd895fab 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-17 18:00:48 -05:00
ミンツキ
0dacdd6bca
Merge pull request #295 from qookei/arm-cache
AArch64 cache-related changes
2023-08-17 16:28:08 -05:00
Kacper Słomiński
ed98e5789c 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-17 23:13:46 +02:00
Kacper Słomiński
efce0f867b docs: Caching/aarch64: Add info about kernel caching 2023-08-17 23:13:02 +02:00
mintsuki
36ce4f292d elf: elf64_load_section(): Return false early if sh_num == 0 2023-08-17 14:31:49 -05:00
mintsuki
0ad8f9b5ad docs: PROTOCOL: Caching/x86-64: Add info about kernel caching 2023-08-17 13:23:53 -05:00