Start to rearrange archetecture specific code
This commit is contained in:
12
sys.h
Normal file
12
sys.h
Normal 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
|
||||
Reference in New Issue
Block a user