Espresso 0.0.2a

This commit is contained in:
2025-10-20 21:57:30 -05:00
parent 102d517097
commit ff6cba1164
59 changed files with 29272 additions and 773 deletions

16
kernel/vars.c Normal file
View File

@ -0,0 +1,16 @@
#include <types.h>
#include <string.h>
#include <stdlib.h>
#include <kernel/vars.h>
static uint8_t* vars_start = NULL;
static int num_bytes_used = 0;
void init_vars(void)
{
vars_start = (uint8_t*) malloc(8 * 1024); /* 1 KiB */
memclr(vars_start, (size_t) 1024);
}