ReactOS  0.4.13-dev-443-g10f00f8
diskmbr.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  disk_partition
 
struct  disk_master_boot_record
 

Macros

#define MBR_MAGIC   0xAA55
 
#define PARTITION_UNUSED   0x00
 
#define PARTITION_ACTIVE   0x80
 
#define PARTITION_COUNT   4
 
#define MBR_SECTOR(x)   ((x)&0x3F)
 
#define MBR_CYLINDER(x)   ((x)>>8|((x)<<2&0x300))
 

Macro Definition Documentation

◆ MBR_CYLINDER

#define MBR_CYLINDER (   x)    ((x)>>8|((x)<<2&0x300))

Definition at line 34 of file diskmbr.h.

◆ MBR_MAGIC

#define MBR_MAGIC   0xAA55

Definition at line 26 of file diskmbr.h.

◆ MBR_SECTOR

#define MBR_SECTOR (   x)    ((x)&0x3F)

Definition at line 33 of file diskmbr.h.

◆ PARTITION_ACTIVE

#define PARTITION_ACTIVE   0x80

Definition at line 29 of file diskmbr.h.

◆ PARTITION_COUNT

#define PARTITION_COUNT   4

Definition at line 31 of file diskmbr.h.

◆ PARTITION_UNUSED

#define PARTITION_UNUSED   0x00

Definition at line 28 of file diskmbr.h.