summaryrefslogtreecommitdiff
path: root/biosdecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'biosdecode.c')
-rw-r--r--biosdecode.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/biosdecode.c b/biosdecode.c
index ceed04a..5b161d1 100644
--- a/biosdecode.c
+++ b/biosdecode.c
@@ -63,22 +63,6 @@
#include "types.h"
#include "util.h"
-#ifdef BIGENDIAN
-typedef struct {
- u32 h;
- u32 l;
-} u64;
-#else /* BIGENDIAN */
-typedef struct {
- u32 l;
- u32 h;
-} u64;
-#endif /* BIGENDIAN */
-
-#define WORD(x) (*(const u16 *)(x))
-#define DWORD(x) (*(const u32 *)(x))
-#define QWORD(x) (*(const u64 *)(x))
-
struct bios_entry {
const char *anchor;
off_t low_address;