Wed 22 Jan 23:36:03 CET 2025

This commit is contained in:
sbosse 2025-01-22 23:36:44 +01:00
parent 0b01164a20
commit 4b0d4c8038

View File

@ -1,6 +1,10 @@
#ifndef KERNELTYPES_H #ifndef KERNELTYPES_H
#define KERNELTYPES_H #define KERNELTYPES_H
#ifdef KERNEL_TYPES_EXT
#include "types_ext.h"
#endif
#pragma pack(2) #pragma pack(2)
#define PAGE_SIZE 4096 #define PAGE_SIZE 4096
@ -51,7 +55,11 @@ typedef enum {
KOBJECT_DEVICE, KOBJECT_DEVICE,
KOBJECT_WINDOW, KOBJECT_WINDOW,
KOBJECT_PIPE, KOBJECT_PIPE,
KOBJECT_CONSOLE KOBJECT_CONSOLE,
#ifdef KERNEL_TYPES_EXT
KERNEL_TYPES_EXT_KOBJECT
#endif
KOBJECT_MAX
} kobject_type_t; } kobject_type_t;
typedef enum { typedef enum {