libww libww
WWitch compatibility library for the Wonderful toolchain
Loading...
Searching...
No Matches
process.h File Reference
#include <sys/types.h>
#include <sys/indirect.h>

Go to the source code of this file.

Data Structures

struct  ProcContext

Macros

#define E_PROC_SUCCESS   0
#define E_PROC_CANTLOAD   0xFFFF
#define S_PCB_NOT_USED   0
#define S_PCB_LOAD   1
#define S_PCB_RUN   2
#define S_PCB_SUSPEND   3
#define MAXPROCESSES   3
#define _pc   ((ProcContext*) 0x0000)
#define ilibIL   (_pc->_ilib)
#define procIL   (_pc->_proc)
#define cwfs   (_pc->_cwfs)
#define currentdir   (_pc->_currentdir)

Macro Definition Documentation

◆ _pc

#define _pc   ((ProcContext*) 0x0000)

Instance of process control block for current process

Definition at line 81 of file process.h.

◆ currentdir

#define currentdir   (_pc->_currentdir)

Current working directory for current process

Definition at line 101 of file process.h.

◆ cwfs

#define cwfs   (_pc->_cwfs)

Current working directory's file system for current process

Definition at line 96 of file process.h.

◆ E_PROC_CANTLOAD

#define E_PROC_CANTLOAD   0xFFFF

Definition at line 10 of file process.h.

◆ E_PROC_SUCCESS

#define E_PROC_SUCCESS   0

Definition at line 9 of file process.h.

◆ ilibIL

#define ilibIL   (_pc->_ilib)

IlibIL library for current process

Definition at line 86 of file process.h.

◆ MAXPROCESSES

#define MAXPROCESSES   3

Definition at line 17 of file process.h.

◆ procIL

#define procIL   (_pc->_proc)

ProcIL library for current process

Definition at line 91 of file process.h.

◆ S_PCB_LOAD

#define S_PCB_LOAD   1

Definition at line 13 of file process.h.

◆ S_PCB_NOT_USED

#define S_PCB_NOT_USED   0

Definition at line 12 of file process.h.

◆ S_PCB_RUN

#define S_PCB_RUN   2

Definition at line 14 of file process.h.

◆ S_PCB_SUSPEND

#define S_PCB_SUSPEND   3

Definition at line 15 of file process.h.