Project structure and standard library string and VGA and terminal drivers

This commit is contained in:
Ben
2019-04-24 23:40:10 +01:00
parent 24409c3a17
commit fa35441595
16 changed files with 68 additions and 40 deletions

0
lib/std/stdio.cpp Normal file
View File

0
lib/std/stdio.h Normal file
View File

5
lib/std/string.cpp Normal file
View File

@@ -0,0 +1,5 @@
#include "string.h"
uint32_t strlen(char* str) {
}

3
lib/std/string.h Normal file
View File

@@ -0,0 +1,3 @@
#include <lib/stdint.h>
uint32_t strlen(char* str);

10
lib/stdint.h Normal file
View File

@@ -0,0 +1,10 @@
#pragma once
typedef signed char int8_t;
typedef short int int16_t;
typedef int int32_t;
typedef long long int int64_t;
typedef unsigned char uint8_t;
typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long int uint64_t;