From 298aaf63f15350e6248d5a96e8c6a63b0ec93e0f Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 20 May 2021 20:41:24 +0200 Subject: Major restructuring --- kernel/inc/mbr.h | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 kernel/inc/mbr.h (limited to 'kernel/inc/mbr.h') diff --git a/kernel/inc/mbr.h b/kernel/inc/mbr.h deleted file mode 100644 index 07f6da0..0000000 --- a/kernel/inc/mbr.h +++ /dev/null @@ -1,28 +0,0 @@ -// MIT License, Copyright (c) 2021 Marvin Borner - -#ifndef MBR_H -#define MBR_H - -#include -#include - -struct mbr_entry { - u8 attributes; - u8 chs_start[3]; - u8 type; - u8 chs_end[3]; - u32 start; - u32 size; -} PACKED; - -struct mbr { - u8 bootstrap[440]; - u32 signature; - u16 reserved; - struct mbr_entry entries[4]; - u16 magic; -} PACKED; - -u8 mbr_load(struct vfs_dev *dev); - -#endif -- cgit v1.2.3