X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FIndustryStandard%2FMbr.h;h=f72b4afbb7106968f8278d7c6bfbfb7148cc596a;hb=0c2a557e5b9aefd6efceccf72017cd7d323a6ba5;hp=108741e7abf493dd1b50d0f5c9e0ea2fb0ddf222;hpb=e0759a83b9e6f60ebe42b20ac268474736e03572;p=mirror_edk2.git diff --git a/MdePkg/Include/IndustryStandard/Mbr.h b/MdePkg/Include/IndustryStandard/Mbr.h index 108741e7ab..f72b4afbb7 100644 --- a/MdePkg/Include/IndustryStandard/Mbr.h +++ b/MdePkg/Include/IndustryStandard/Mbr.h @@ -1,8 +1,8 @@ /** @file Legacy Master Boot Record Format Definition. -Copyright (c) 2006, Intel Corporation -All rights reserved. This program and the accompanying materials +Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
+This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -10,14 +10,12 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. ---*/ +**/ #ifndef _MBR_H_ #define _MBR_H_ #define MBR_SIGNATURE 0xaa55 -#define MIN_MBR_DEVICE_SIZE 0x80000 -#define MBR_ERRATA_PAD 0x40000 // 128 MB #define EXTENDED_DOS_PARTITION 0x05 #define EXTENDED_WINDOWS_PARTITION 0x0F @@ -30,9 +28,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #define MBR_SIZE 512 #pragma pack(1) -// -// MBR Partition Entry -// +/// +/// MBR Partition Entry +/// typedef struct { UINT8 BootIndicator; UINT8 StartHead; @@ -46,9 +44,9 @@ typedef struct { UINT8 SizeInLBA[4]; } MBR_PARTITION_RECORD; -// -// MBR Partition table -// +/// +/// MBR Partition Table +/// typedef struct { UINT8 BootStrapCode[440]; UINT8 UniqueMbrSignature[4];