Karg  v0.2.0
The kernel of CargOS
proc Struct Reference

#include <proc.h>

Public Attributes

list_node_t node
 
list_node_t tree_node
 
pid_t pid
 
u32 flags
 
struct procparent
 
list_node_t children
 
list_node_t zombie_children
 
fd_t fds [PROC_FD_CAPACITY]
 
proc_state_t state
 
struct procproc_waiting
 
timer_t timer
 
i32 exit_status
 
void * page_table
 
usizekern_stack
 
usizeuser_stack
 
usizesp
 

Member Data Documentation

◆ children

list_node_t proc::children

◆ exit_status

i32 proc::exit_status

◆ fds

fd_t proc::fds[PROC_FD_CAPACITY]

◆ flags

u32 proc::flags

◆ kern_stack

usize* proc::kern_stack

◆ node

list_node_t proc::node

◆ page_table

void* proc::page_table

◆ parent

struct proc* proc::parent

◆ pid

pid_t proc::pid

◆ proc_waiting

struct proc* proc::proc_waiting

◆ sp

usize* proc::sp

◆ state

proc_state_t proc::state

◆ timer

timer_t proc::timer

◆ tree_node

list_node_t proc::tree_node

◆ user_stack

usize* proc::user_stack

◆ zombie_children

list_node_t proc::zombie_children

The documentation for this struct was generated from the following file: