Removed type headers in src/

This commit is contained in:
2021-04-10 19:41:02 -05:00
parent 327fbc70c6
commit c6a1b8fa29
4 changed files with 0 additions and 42 deletions

View File

@@ -1,8 +0,0 @@
#ifndef SYSTYPES_H
#define SYSTYPES_H
#include "types/physaddr.h"
#include "types/status.h"
#include "types/handle.h"
#endif

View File

@@ -1,8 +0,0 @@
#ifndef HANDLE_H
#define HANDLE_H
#include <stdint.h>
typedef uint64_t handle_t;
#endif

View File

@@ -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

View File

@@ -1,11 +0,0 @@
#ifndef STATUS_H
#define STATUS_H
enum class Status
{
OK = 0,
BadArgument,
NoMemory
};
#endif