Document amd64 platform-specific code

This commit is contained in:
2025-12-30 16:50:15 +01:00
parent 4f4f5c3d2f
commit 34f1e0ba30
17 changed files with 171 additions and 19 deletions

View File

@@ -4,9 +4,12 @@
#include <amd64/intr.h>
#include <libk/std.h>
/// Top of userspace process' stack
#define PROC_USTACK_TOP 0x00007FFFFFFFF000ULL
#define USTACK_SIZE (256 * PAGE_SIZE)
/// Size of userspace process' stack
#define USTACK_SIZE (256 * PAGE_SIZE)
/// Platform-dependent process data
struct proc_platformdata {
struct saved_regs regs;
uintptr_t syscall_stack;