Files
CS3841/TTOS/include/process.h
p-w-rs 7bb91e666d stuff
2022-09-07 11:18:56 -05:00

20 lines
333 B
C

#ifndef _PROCESS_H
#define _PROCESS_H
#define STACK_SIZE 8192
#include "elf.h"
typedef struct process {
void* entry_point;
void* exec_start;
void* stack_start;
void* stack_end;
int size;
} process;
errorCode_t create_process(const char* file, process* proc);
errorCode_t free_process(process* proc);
#endif