summaryrefslogtreecommitdiff
path: root/src/kernel/types.h
blob: e186479197dff257ed6ee933a75b289d352ad3e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once
#include <camellia/types.h>

#define FORWARD_STRUCT(name) struct name; typedef struct name name;

FORWARD_STRUCT(CpuRegs)
FORWARD_STRUCT(Handle)
FORWARD_STRUCT(Pagedir)
FORWARD_STRUCT(Proc)
FORWARD_STRUCT(VfsBackend)
FORWARD_STRUCT(VfsMount)
FORWARD_STRUCT(VfsReq)

/* arch-specific stuff */
FORWARD_STRUCT(GfxInfo)

#undef FORWARD_STRUCT