summaryrefslogtreecommitdiffstats
path: root/api/obj.h
blob: 10f7b65a9642ddb92e90ea2f1dd4c622d445c475 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef _JOVE_API_OBJ_H
#define _JOVE_API_OBJ_H 1

#include <stdint.h>

enum
{
    JOVE_OBJ_NONE = 0,
    JOVE_OBJ_UNTYPED,
    JOVE_OBJ_OBJDIR,
    JOVE_OBJ_PAGEDIR,
    JOVE_OBJ_PROCESSOR,
    JOVE_OBJ_ACPI_TABLE,
    JOVE_OBJ_INT_HANDLE,
    JOVE_OBJ_PROCESS,
    JOVE_OBJ_INITRD_FILE,
    JOVE_OBJ_FRAMEBUFFER,
    JOVE_OBJ_VIRTTERM,
    JOVE_OBJ_MESSAGE,
    JOVE_OBJ_LINK,
};

#define OBJDIR_NUM_ENTRIES (0x1000 / sizeof(uintmax_t))

typedef uint16_t objpath_part_t;

#endif