iPXE
Mbr.h File Reference

Legacy Master Boot Record Format Definition. More...

Go to the source code of this file.

Data Structures

struct  MBR_PARTITION_RECORD
 MBR Partition Entry. More...
struct  MASTER_BOOT_RECORD
 MBR Partition Table. More...

Macros

#define MBR_SIGNATURE   0xaa55
#define EXTENDED_DOS_PARTITION   0x05
#define EXTENDED_WINDOWS_PARTITION   0x0F
#define MAX_MBR_PARTITIONS   4
#define PMBR_GPT_PARTITION   0xEE
#define EFI_PARTITION   0xEF
#define MBR_SIZE   512

Functions

 FILE_LICENCE (BSD2_PATENT)
 FILE_SECBOOT (PERMITTED)

Detailed Description

Legacy Master Boot Record Format Definition.

Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Mbr.h.

Macro Definition Documentation

◆ MBR_SIGNATURE

#define MBR_SIGNATURE   0xaa55

Definition at line 14 of file Mbr.h.

◆ EXTENDED_DOS_PARTITION

#define EXTENDED_DOS_PARTITION   0x05

Definition at line 16 of file Mbr.h.

◆ EXTENDED_WINDOWS_PARTITION

#define EXTENDED_WINDOWS_PARTITION   0x0F

Definition at line 17 of file Mbr.h.

◆ MAX_MBR_PARTITIONS

#define MAX_MBR_PARTITIONS   4

Definition at line 19 of file Mbr.h.

◆ PMBR_GPT_PARTITION

#define PMBR_GPT_PARTITION   0xEE

Definition at line 21 of file Mbr.h.

◆ EFI_PARTITION

#define EFI_PARTITION   0xEF

Definition at line 22 of file Mbr.h.

◆ MBR_SIZE

#define MBR_SIZE   512

Definition at line 24 of file Mbr.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( BSD2_PATENT )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )