|
Simple Operating System
|
useful macros, definitions, enums etc. More...
#include <stdbool.h>#include <stdint.h>

Go to the source code of this file.
Macros | |
| #define | NULL ((void *) 0) |
| pointer to NULL More... | |
| #define | DEBUG asm("xchg bx,bx"); |
| debug breakpoint in Bochs | |
| #define | __start __attribute__((section("start"))) |
| Must be before main function of program to put this function as first in binary file. | |
Typedefs | |
| typedef unsigned char | Byte |
| typedef unsigned short | Word |
| typedef unsigned int | size_t |
Enumerations | |
| enum | Color { Black = 0 , Blue , Green , Cyan , Red , Magenta , Brown , LightGrey , DarkGrey , LightBlue , LightGreen , LightCyan , LightRed , LightMagenta , LightBrown , White } |
useful macros, definitions, enums etc.
Definition in file types.h.