diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-29 12:53:57 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-29 12:53:57 -0400 |
| commit | c2788174198632e0c8bdbfa7762081f595460bdf (patch) | |
| tree | 373b1f5c7cfe0e87f29c1c8956579c58b4f22bf9 /hal/process.h | |
| parent | 8de23ca36173cfdb3c609074496115ebd9045887 (diff) | |
| download | jove-kernel-c2788174198632e0c8bdbfa7762081f595460bdf.tar.gz jove-kernel-c2788174198632e0c8bdbfa7762081f595460bdf.tar.bz2 jove-kernel-c2788174198632e0c8bdbfa7762081f595460bdf.zip | |
move process code into proc. add panic folder
Diffstat (limited to 'hal/process.h')
| -rw-r--r-- | hal/process.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/hal/process.h b/hal/process.h deleted file mode 100644 index da3e050..0000000 --- a/hal/process.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef _JOVE_HAL_PROCESS_H -#define _JOVE_HAL_PROCESS_H 1 - -#include "hal/obj.h" - -typedef uintmax_t pid_t; - -enum pcb_state -{ - PCB_DEAD, PCB_READY, PCB_RUNNING, PCB_BLOCKED -}; - -struct pcb_mailbox -{ - jove_obj_t *obj; - pid_t pid; -}; - -typedef struct process_control_block pcb_t; - -jove_owned_obj_t *process_current(void); - -/*Returns the process ID of the passed PCB. */ -pid_t pcb_pid(pcb_t *pcb); - -/*Returns the root kernel object directory of this PCB. */ -jove_obj_t *pcb_rootdir(pcb_t *pcb); - -#endif |
