Project structure and standard library string and VGA and terminal drivers
This commit is contained in:
0
lib/std/stdio.cpp
Normal file
0
lib/std/stdio.cpp
Normal file
0
lib/std/stdio.h
Normal file
0
lib/std/stdio.h
Normal file
5
lib/std/string.cpp
Normal file
5
lib/std/string.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
#include "string.h"
|
||||
|
||||
uint32_t strlen(char* str) {
|
||||
|
||||
}
|
||||
3
lib/std/string.h
Normal file
3
lib/std/string.h
Normal file
@@ -0,0 +1,3 @@
|
||||
#include <lib/stdint.h>
|
||||
|
||||
uint32_t strlen(char* str);
|
||||
10
lib/stdint.h
Normal file
10
lib/stdint.h
Normal 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;
|
||||
Reference in New Issue
Block a user