Hello user process
This commit is contained in:
@ -12,6 +12,8 @@
|
||||
#define PROC_STACKBLOCKS 32
|
||||
#define PROC_STACKSIZE (PROC_STACKBLOCKS * BITMAP_BLOCK_SIZE)
|
||||
|
||||
#define PROC_MAX 0x100 // max amount of processes
|
||||
|
||||
enum {
|
||||
PROC_READY,
|
||||
PROC_RUNNING,
|
||||
@ -38,7 +40,9 @@ typedef struct {
|
||||
extern Procs PROCS;
|
||||
|
||||
void proc_init(void);
|
||||
void proc_register(Proc *proc);
|
||||
Proc *proc_spawnkern(void (*ent)(void), char *name);
|
||||
Proc *proc_spawnuser(char *mountpoint, char *path);
|
||||
void proc_sched(void *cpustate);
|
||||
|
||||
#endif // PROC_PROC_H_
|
||||
|
Reference in New Issue
Block a user