ApertureOS
Macros | Typedefs
types.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <x86intrin.h>
Include dependency graph for types.h:

Go to the source code of this file.

Macros

#define TRUE   1
 
#define FALSE   0
 
#define ENABLE   1
 
#define DISABLE   0
 
#define ENABLED   1
 
#define DISABLED   0
 
#define KB(x)   (x * 1024)
 
#define MB(x)   (KB(1) * 1024 * x)
 
#define GB(x)   (uint64_t)(MB(1) * 1024 * x)
 

Typedefs

typedef uint64_t UID
 
typedef UID SysID
 
typedef void(* Callback) (void *)
 
typedef uint32_t(* Initializer) ()
 
typedef int(* ProcessEntryPoint) (int, char **)
 
typedef uint8_t bool
 

Macro Definition Documentation

#define DISABLE   0
#define DISABLED   0
#define ENABLE   1
#define ENABLED   1
#define FALSE   0
#define GB (   x)    (uint64_t)(MB(1) * 1024 * x)
#define KB (   x)    (x * 1024)
#define MB (   x)    (KB(1) * 1024 * x)
#define TRUE   1

Typedef Documentation

typedef uint8_t bool
typedef void(* Callback) (void *)
typedef uint32_t(* Initializer) ()
typedef int(* ProcessEntryPoint) (int, char **)
typedef UID SysID
typedef uint64_t UID