Start to rearrange archetecture specific code

This commit is contained in:
2025-04-13 21:52:14 -04:00
parent 9f8469314f
commit 0425a92b79
4 changed files with 144 additions and 0 deletions

12
sys.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef MINIMALSYS_H
#include <stdint.h>
void exit(int8_t status);
#define STDIO 1
#define STDERR 2
intptr_t write(int32_t fd, const void* buf, intptr_t size);
//intptr_t read(int32_t fd, const void* buf, intptr_t size);
uint32_t fork();
#endif // !MINIMALSYS_H