X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FIndustryStandard%2FMbr.h;h=a8777953c7bace729aa0a0f99dd0faffca108af2;hp=108741e7abf493dd1b50d0f5c9e0ea2fb0ddf222;hb=9344f0921518309295da89c221d10cbead8531aa;hpb=e0759a83b9e6f60ebe42b20ac268474736e03572 diff --git a/MdePkg/Include/IndustryStandard/Mbr.h b/MdePkg/Include/IndustryStandard/Mbr.h index 108741e7ab..a8777953c7 100644 --- a/MdePkg/Include/IndustryStandard/Mbr.h +++ b/MdePkg/Include/IndustryStandard/Mbr.h @@ -1,23 +1,15 @@ /** @file Legacy Master Boot Record Format Definition. -Copyright (c) 2006, 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 - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+SPDX-License-Identifier: BSD-2-Clause-Patent ---*/ +**/ #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 +22,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 +38,9 @@ typedef struct { UINT8 SizeInLBA[4]; } MBR_PARTITION_RECORD; -// -// MBR Partition table -// +/// +/// MBR Partition Table +/// typedef struct { UINT8 BootStrapCode[440]; UINT8 UniqueMbrSignature[4];