Remove types.c/.h, use klibc headers, amend stdbool.h, reimplement cpuid()

This commit is contained in:
vmttmv
2026-01-12 02:42:02 +02:00
parent 86608ef48c
commit 841892398a
9 changed files with 20 additions and 69 deletions

View File

@@ -1,6 +1,12 @@
#ifndef CLASSICOS_KLIBC_STDBOOL_H
#define CLASSICOS_KLIBC_STDBOOL_H
typedef enum { false = 0, true = 1 } bool;
#ifndef __cplusplus
#define bool _Bool
#define true 1
#define false 0
#endif
#define __bool_true_false_are_defined 1
#endif // CLASSICOS_KLIBC_STDBOOL_H