From a783cc865f1f261c20f6ef55cb37d4839f519865 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Tue, 15 Sep 2026 10:03:20 -0400 Subject: move constants to api. centralize interrupts. fix rootdir lock hang --- api/init.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 api/init.h (limited to 'api/init.h') diff --git a/api/init.h b/api/init.h new file mode 100644 index 0000000..a7de43f --- /dev/null +++ b/api/init.h @@ -0,0 +1,18 @@ +#ifndef _JOVE_API_INIT_H +#define _JOVE_API_INIT_H 1 + +#define ROOTDIR_PROCESSORS_I 0x0 +#define ROOTDIR_PAGEDIR_I 0x01 +#define ROOTDIR_UNTYPED_I 0x02 +#define ROOTDIR_PCB_I 0x03 +#define ROOTDIR_IOPB_I 0x04 +#define ROOTDIR_ACPI_I 0x05 +#define ROOTDIR_INTERRUPTS_I 0x06 +#define ROOTDIR_INITRD_I 0x07 +#define ROOTDIR_MESSAGE_I 0x08 + +#define ROOTDIR_SERIAL_COM_I 0x80 +#define ROOTDIR_FRAMEBUFFER_I 0x81 +#define ROOTDIR_VIRTTERM_I 0x82 + +#endif -- cgit v1.2.3