Commit Graph

579 Commits

Author SHA1 Message Date
mintsuki 7885f2607b misc: Add .note.GNU-stack where it was still missing 2023-09-28 05:19:17 -05:00
mintsuki fd9b3c38de smp: riscv64: Replace .insn directive with .4byte 2023-09-28 04:19:17 -05:00
mintsuki 74751895ad misc: Add section .note.GNU-stack to assembly files 2023-09-28 04:15:33 -05:00
mintsuki 33f238fb3f time: Change signature of get_jdn() to use int types 2023-09-28 00:51:24 -05:00
mintsuki 03af415777 elf: Panic if there are PHDRs with different perms sharing same page 2023-09-24 01:53:18 -05:00
mintsuki c9604f1214 misc: Converge with 5.x 2023-09-23 17:39:33 -05:00
mintsuki 21e5f65e6c smp: Remove dead 32-bit trampoline code 2023-09-23 13:27:58 -05:00
mintsuki f9682543fd misc: Converge with 5.x 2023-09-22 17:51:07 -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 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 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
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 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
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 62219b366b misc: Improve UEFI linker scripts 2023-09-09 15:49:17 -05:00
mintsuki 094e6b2891 x86/gdt: Mark accessed flag in descriptors 2023-09-08 12:35:32 -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 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
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
mintsuki 36ce4f292d elf: elf64_load_section(): Return false early if sh_num == 0 2023-08-17 14:31:49 -05:00
mintsuki a425f1ca2f disk: Add additional volume_index_i overflow guards 2023-08-17 12:55:58 -05:00
mintsuki 50f87fc3f6 exceptions: Change naming of exceptions in panic message 2023-08-14 10:58:30 -05:00
mintsuki 92d52e3e02 Revert "Revert "fs: Drop ext* support""
This reverts commit 1e65ada438.
2023-08-12 17:53:15 -05:00
mintsuki 980b3aab90 limine: Do not return SMBIOS response if not present 2023-08-10 19:01:07 -05:00
xvanc 656468bc0b
smp/riscv: don't report completion to BSP before actually completed 2023-08-10 12:27:27 -05:00
mintsuki f3ea5c7ab3 limine: Set up framebuffer caching as WC 2023-08-08 13:47:53 -05:00
mekb 29e93762f7
menu: Add option to hide help text 2023-08-04 22:53:42 +10:00
xvanc d7d4aea753
vmm/riscv: execute `sfence` after loading `satp` 2023-08-02 16:58:31 -05:00
xvanc 56cdc669bf
limine/riscv: remove dependency on lower half identity map 2023-08-02 15:20:47 -05:00
xvanc 46d3dcd600
vmm/riscv: fix bug in `vmm_max_paging_mode()` 2023-08-02 15:05:53 -05:00
mintsuki c811a9a18f rv64: Misc relaxation related fixes 2023-08-01 05:06:40 -05:00
mintsuki edaadc2201 gterm: Change resolutions at which autoscaling is triggered 2023-07-29 04:45:02 -05:00
mintsuki e1d25f8c66 menu: Center menu vertically 2023-07-29 03:52:57 -05:00