blindly implemented exit system call

This commit is contained in:
2025-07-31 13:14:28 +03:00
parent b65dc62257
commit 7bc28c2331
5 changed files with 11 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
#define PROCS_MAX 8 // Maximum ammount of processes
#define PROC_UNUSED 0 // Unused processes control structure
#define PROC_RUNNABLE 1 // Runnable proccess
#define PROC_EXITED 2
#define SATP_SV32 (1u << 31)
#define SSTATUS_SPIE (1 << 5)
#define SCAUSE_ECALL 8