diff --git a/include/kernel/types.h b/include/kernel/types.h index 9aed79e..2f6f697 100644 --- a/include/kernel/types.h +++ b/include/kernel/types.h @@ -1,6 +1,10 @@ #ifndef KERNELTYPES_H #define KERNELTYPES_H +#ifdef KERNEL_TYPES_EXT + #include "types_ext.h" +#endif + #pragma pack(2) #define PAGE_SIZE 4096 @@ -51,7 +55,11 @@ typedef enum { KOBJECT_DEVICE, KOBJECT_WINDOW, KOBJECT_PIPE, - KOBJECT_CONSOLE + KOBJECT_CONSOLE, +#ifdef KERNEL_TYPES_EXT + KERNEL_TYPES_EXT_KOBJECT +#endif + KOBJECT_MAX } kobject_type_t; typedef enum {