SchOS/kernel/arch/x86_64
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 1ba93dde2c kernel: syscalls get the whole kernel stack
syscall_entry put the frame at kstack + 4096 - 16, from when a kernel
stack was one page. It has been two since, so every syscall ran in the
bottom 4 KB while traps used the top, and a deep enough read -- startx
exec'ing through the new compressed ramdisk -- ran over the canary at
kstack[0]. The frame now sits at the top of KSTACKSIZE, where allocproc
and the TSS already put it, and exec's user-rsp slot moves with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-24 21:17:02 +02:00
..
acpi.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
e820.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
entry.S include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
entryother.S include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
ioapic.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
ioperm.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
lapic.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
mp.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
swtch.S Initial commit: Schunix as it stands before the SchOS rename 2026-08-09 13:47:01 +02:00
trap.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
trapasm.S kernel: syscalls get the whole kernel stack 2026-10-24 21:17:02 +02:00
vectors.S Initial commit: Schunix as it stands before the SchOS rename 2026-08-09 13:47:01 +02:00
vm.c uefi, vm: 2 MB pages where the CPU has no 1 GB ones 2026-10-24 11:45:18 +02:00
watch.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00