#ifndef KPROCESS_H #define KPROCESS_H #include typedef enum { STATE_READY, STATE_SLEEPING, STATE_BLOCKED, STATE_DEAD } process_state_t; typedef struct { uint32_t pid; uint32_t esp; uint32_t esp0; uint32_t cr3; process_state_t state; uint32_t sleep; void* next; uint32_t heap_end; } __attribute__((packed)) process_t; #endif