From eb4f6d23bac58ae6332d4ce4397e3fc1f3d2e332 Mon Sep 17 00:00:00 2001 From: jewelcodes Date: Tue, 26 Nov 2024 19:03:57 -0500 Subject: [PATCH] sched: add siginfo and signal user context to thread struct --- src/include/kernel/sched.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/include/kernel/sched.h b/src/include/kernel/sched.h index 6a22bd0..b6331d6 100644 --- a/src/include/kernel/sched.h +++ b/src/include/kernel/sched.h @@ -59,6 +59,8 @@ typedef struct Thread { void *signals; SignalQueue *signalQueue; uintptr_t signalTrampoline; + uintptr_t siginfo; + uintptr_t signalUserContext; SyscallRequest syscall; // for when the thread is blocked int exitStatus; // for zombie threads