From: Sascha Wildner Date: Tue, 12 Dec 2017 08:55:37 +0000 (+0100) Subject: boot/efi: Remove an unused header. X-Git-Tag: v5.3.0~691 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/dd28bfea176ffc5279b94c606cc4cb931648aea9 boot/efi: Remove an unused header. If we ever need it we'd take it from TianoCore EDK II, i.e. MdePkg/Include/IndustryStandard/Mbr.h. --- diff --git a/sys/boot/efi/include/efipart.h b/sys/boot/efi/include/efipart.h deleted file mode 100644 index 693f4470b1..0000000000 --- a/sys/boot/efi/include/efipart.h +++ /dev/null @@ -1,69 +0,0 @@ -/* $FreeBSD: head/sys/boot/efi/include/efipart.h 292625 2015-12-22 20:40:34Z emaste $ */ -#ifndef _EFI_PART_H -#define _EFI_PART_H - -/*++ - -Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved -This software and associated documentation (if any) is furnished -under a license and may only be used or copied in accordance -with the terms of the license. Except as permitted by such -license, no part of this software or documentation may be -reproduced, stored in a retrieval system, or transmitted in any -form or by any means without the express written consent of -Intel Corporation. - -Module Name: - - efipart.h - -Abstract: - Info about disk partitions and Master Boot Records - - - - -Revision History - ---*/ - -// -// -// - -#define EFI_PARTITION 0xef -#define MBR_SIZE 512 - -#pragma pack(1) - -typedef struct { - UINT8 BootIndicator; - UINT8 StartHead; - UINT8 StartSector; - UINT8 StartTrack; - UINT8 OSIndicator; - UINT8 EndHead; - UINT8 EndSector; - UINT8 EndTrack; - UINT8 StartingLBA[4]; - UINT8 SizeInLBA[4]; -} MBR_PARTITION_RECORD; - -#define EXTRACT_UINT32(D) (UINT32)(D[0] | (D[1] << 8) | (D[2] << 16) | (D[3] << 24)) - -#define MBR_SIGNATURE 0xaa55 -#define MIN_MBR_DEVICE_SIZE 0x80000 -#define MBR_ERRATA_PAD 0x40000 // 128 MB - -#define MAX_MBR_PARTITIONS 4 -typedef struct { - UINT8 BootStrapCode[440]; - UINT8 UniqueMbrSignature[4]; - UINT8 Unknown[2]; - MBR_PARTITION_RECORD Partition[MAX_MBR_PARTITIONS]; - UINT16 Signature; -} MASTER_BOOT_RECORD; -#pragma pack() - - -#endif