diff --git a/include/processes.h b/include/processes.h new file mode 100644 index 0000000..eedb8db --- /dev/null +++ b/include/processes.h @@ -0,0 +1,19 @@ +#ifndef _PROCESSES_H +#define _PROCESSES_H + +#include + + + +struct process +{ + uint16_t id; + uint8_t policy; + uint16_t priority; + + char name[16]; + + struct process* next; +}; + +#endif diff --git a/include/stdio.h b/include/stdio.h new file mode 100644 index 0000000..72306a4 --- /dev/null +++ b/include/stdio.h @@ -0,0 +1,2 @@ + +#include diff --git a/include/stdlib.h b/include/stdlib.h new file mode 100644 index 0000000..3652b4c --- /dev/null +++ b/include/stdlib.h @@ -0,0 +1,9 @@ +#ifndef STDLIB_H +#define STDLIB_H + +#include +#include +#include +#include + +#endif diff --git a/include/string.h b/include/string.h new file mode 100644 index 0000000..12cfe04 --- /dev/null +++ b/include/string.h @@ -0,0 +1,27 @@ +#ifndef STRING_H +#define STRING_H + +#include + +/* TODO: change all applicable 'int32_t's with 'size_t's. */ + +size_t strlen(const char* str); +size_t strcmp(const char *s1, const char *s2); +int32_t strncmp(const char *s1, const char *s2, size_t n); +size_t strcpy(char *dst, const char *src); +char *strncpy(char *dest, const char *src, uint32_t n); +void strcat(char *dest, const char *src); + +int32_t ischar(int32_t c); +int32_t isspace(char c); +int32_t isalpha(char c); +char upper(char c); +char toupper(char c); +char lower(char c); + +void *memset(void *dst, char c, uint32_t n); +void *memcpy(void *dst, const void *src, uint32_t n); +int32_t memcmp(uint8_t *s1, uint8_t *s2, uint32_t n); + + +#endif diff --git a/include/syscall.h b/include/syscall.h new file mode 100644 index 0000000..e3f9d1a --- /dev/null +++ b/include/syscall.h @@ -0,0 +1,6 @@ +#ifndef _SYSCALL_H +#define _SYSCALL_H + + + +#endif