moved drivers to root level directory for now and created some basic test module

This commit is contained in:
shockrah
2019-09-16 13:48:25 -07:00
parent 92c5b32b12
commit e6a5966fe6
7 changed files with 37 additions and 0 deletions

View File

@@ -12,3 +12,6 @@ int memcmp(const void* left, const void* right, const size_t size) {
}
return 0;
}
void* memalloc(const size_t size) {
}

View File

@@ -1,5 +1,11 @@
struct MemSpace {
size_t size;
void* buffer;
};
/* Returns 0: if both memory buffers are the same
* Return !0: if the memory buffers are not the same
*
*/
int memcmp(const void* left, const void* right, const size_t size);
void* memalloc(const size_t);

2
stl/stlio.h Normal file
View File

@@ -0,0 +1,2 @@
// General input/output reharding stdio + file io