Removed type headers in src/
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
#ifndef SYSTYPES_H
|
|
||||||
#define SYSTYPES_H
|
|
||||||
|
|
||||||
#include "types/physaddr.h"
|
|
||||||
#include "types/status.h"
|
|
||||||
#include "types/handle.h"
|
|
||||||
|
|
||||||
#endif
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#ifndef HANDLE_H
|
|
||||||
#define HANDLE_H
|
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
typedef uint64_t handle_t;
|
|
||||||
|
|
||||||
#endif
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
#ifndef PHYSADDR_H
|
|
||||||
#define PHYSADDR_H
|
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <stddef.h>
|
|
||||||
|
|
||||||
#if defined __i386__ || __arm__
|
|
||||||
typedef uint32_t physaddr_t;
|
|
||||||
#elif defined __x86_64__ || __aarch64__
|
|
||||||
typedef uint64_t physaddr_t;
|
|
||||||
#else
|
|
||||||
typedef uint64_t physaddr_t;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
#ifndef STATUS_H
|
|
||||||
#define STATUS_H
|
|
||||||
|
|
||||||
enum class Status
|
|
||||||
{
|
|
||||||
OK = 0,
|
|
||||||
BadArgument,
|
|
||||||
NoMemory
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
||||||
Reference in New Issue
Block a user