Kintsugi OS 0.5.0
x86 Monolithic OS
Loading...
Searching...
No Matches
runtime.c File Reference
#include "runtime.h"

Classes

struct  block
 

Typedefs

typedef struct block block_t
 

Functions

int syscall (u32 number, u32 a, u32 b, u32 c, u32 d)
 
void * malloc (u32 size)
 
void free (void *pointer)
 
int read_stdin (void *buffer, u32 capacity)
 

Variables

static block_t * blocks
 

Typedef Documentation

◆ block_t

typedef struct block block_t

Function Documentation

◆ free()

void free ( void *  pointer)

◆ malloc()

void * malloc ( u32  size)

◆ read_stdin()

int read_stdin ( void *  buffer,
u32  capacity 
)

◆ syscall()

int syscall ( u32  number,
u32  a,
u32  b,
u32  c,
u32  d 
)

Variable Documentation

◆ blocks

block_t* blocks
static