Modules - Working on LVM layer (not integrated yet)
[tpg/acess2.git] / KernelLand / Modules / Storage / LVM / mbr.h
1 /*
2  * Acess2 Logical Volume Manager
3  * - By John Hodge (thePowersGang)
4  * 
5  * mbr.h
6  * - MBR Definitions
7  */
8 #ifndef _LVM_MBR_H_
9 #define _LVM_MBR_H_
10
11 typedef struct
12 {
13         Uint8   BootCode[0x1BE];
14         struct {
15                 Uint8   Boot;
16                 Uint8   Unused1;        // Also CHS Start
17                 Uint16  StartHi;        // Also CHS Start
18                 Uint8   SystemID;
19                 Uint8   Unused2;        // Also CHS Length
20                 Uint16  LengthHi;       // Also CHS Length
21                 Uint32  LBAStart;
22                 Uint32  LBALength;
23         } __attribute__ ((packed)) Parts[4];
24         Uint16  BootFlag;       // = 0xAA 55
25 } __attribute__ ((packed))      tMBR;
26
27 #endif

UCC git Repository :: git.ucc.asn.au