Began work on tty driver

This commit is contained in:
2025-02-16 20:32:19 +01:00
parent 7d41cf45ed
commit 983174a081
5 changed files with 55 additions and 5 deletions
+15 -2
View File
@@ -18,7 +18,20 @@
#define __naked __attribute__((naked))
/*
* Utility macros
* Standard int types
*/
#define sizeof_array(_a) ()
// Unsigned
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long uint64_t;
// Signed
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
typedef signed long int64_t;
// Size
typedef uint32_t size_t;
typedef int32_t ssize_t;
#endif