From eb46e450001a76cec09cd717d4a93052fdcbec75 Mon Sep 17 00:00:00 2001 From: vit9696 Date: Sun, 27 Jan 2019 21:25:52 +0300 Subject: [PATCH] Move AppleChunklist header to EfiPkg --- Include/IndustryStandard/AppleChunklist.h | 65 ----------------------- 1 file changed, 65 deletions(-) delete mode 100644 Include/IndustryStandard/AppleChunklist.h diff --git a/Include/IndustryStandard/AppleChunklist.h b/Include/IndustryStandard/AppleChunklist.h deleted file mode 100644 index 3a5aff8c..00000000 --- a/Include/IndustryStandard/AppleChunklist.h +++ /dev/null @@ -1,65 +0,0 @@ -/** @file - Copyright (C) 2019, Goldfish64. 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. -**/ - -#ifndef APPLE_CHUNKLIST_H -#define APPLE_CHUNKLIST_H - -// -// Magic number used to identify chunklist. -// -#define APPLE_CHUNKLIST_MAGIC 0x4C4B4E43 // "CNKL" - -// -// Supported chunklist versions. -// -#define APPLE_CHUNKLIST_FILE_VERSION_10 0x1 -#define APPLE_CHUNKLIST_CHUNK_METHOD_10 0x1 -#define APPLE_CHUNKLIST_SIG_METHOD_10 0x1 -#define APPLE_CHUNKLIST_CHECKSUM_LENGTH 32 -#define APPLE_CHUNKLIST_SIG_LENGTH 256 - -#pragma pack(push, 1) - -// -// Chunklist chunk. -// -typedef struct APPLE_CHUNKLIST_CHUNK_ { - UINT32 Length; - UINT8 Checksum[APPLE_CHUNKLIST_CHECKSUM_LENGTH]; -} APPLE_CHUNKLIST_CHUNK; - -// -// Chunklist signature. -// -typedef struct APPLE_CHUNKLIST_SIG_ { - UINT8 Signature[APPLE_CHUNKLIST_SIG_LENGTH]; -} APPLE_CHUNKLIST_SIG; - -// -// Chunklist header. -// -typedef struct { - UINT32 Magic; - UINT32 Length; - UINT8 FileVersion; - UINT8 ChunkMethod; - UINT8 SigMethod; - UINT8 Unused; - - UINT64 ChunkCount; - UINT64 ChunkOffset; - UINT64 SigOffset; -} APPLE_CHUNKLIST_HEADER; - -#pragma pack(pop) - -#endif // APPLE_CHUNKLIST_H