From fe6fbfa07aa8326926049cf62560d940bc7305c0 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 27 Jul 2024 19:59:37 +0200 Subject: kernel: don't use pointer types for registers, add proc_savereturn --- src/libk/include/camellia/types.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/libk') diff --git a/src/libk/include/camellia/types.h b/src/libk/include/camellia/types.h index 86ffb56..6fee578 100644 --- a/src/libk/include/camellia/types.h +++ b/src/libk/include/camellia/types.h @@ -37,10 +37,9 @@ struct intr_data { * notable omissions: * - SSE registers (usually there's no need to save them, userland can do * that itself if it wants) */ - uint64_t r15, r14, r13, r12, r11, r10, r9, r8; - uint64_t rdi, rsi; - userptr_t rbp, rsp; - uint64_t rbx, rdx, rcx, rax, rip, flags; + uint64_t r15, r14, r13, r12, r11, r10, r9, r8; + uint64_t rdi, rsi, rbp, rsp, rbx, rdx, rcx, rax; + uint64_t rip, flags; char msg[]; /* variable size, NUL terminated */ }; -- cgit v1.2.3