GitOS
Operating system exercise
Loading...
Searching...
No Matches
process Struct Reference

#include <process.h>

Data Structures

struct  keyboard_buffer
 

Data Fields

uint8_t id
 Process ID.
 
char filename [MAX_PATH]
 Path to process.
 
struct tasktask
 Main process task.
 
void * allocations [PROCESS_MAX_ALLOCATIONS]
 malloc allocations of the process
 
void * elf
 
void * stack
 Physical pointer to the process stack.
 
void * bss
 Allocated BSS segment.
 
void * framebuffer
 Pointer to allocated memory for framebuffer.
 
struct process::keyboard_buffer keyboard
 
void * elf_entry
 
int argc
 
char ** argv
 

Field Documentation

◆ allocations

void* allocations[PROCESS_MAX_ALLOCATIONS]

malloc allocations of the process

◆ argc

int argc

◆ argv

char** argv

◆ bss

void* bss

Allocated BSS segment.

◆ elf

void* elf

◆ elf_entry

void* elf_entry

◆ filename

char filename[MAX_PATH]

Path to process.

◆ framebuffer

void* framebuffer

Pointer to allocated memory for framebuffer.

◆ id

uint8_t id

Process ID.

◆ keyboard

struct process::keyboard_buffer keyboard

◆ stack

void* stack

Physical pointer to the process stack.

◆ task

struct task* task

Main process task.


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