OpenCore
1.0.4
OpenCore Bootloader
|
Go to the source code of this file.
Macros | |
#define | BASE_256B 0x0100U |
#define | SIZE_512B 0x0200U |
#define | DMG_SECTOR_START_ABS(b, c) |
#define | DMG_PLIST_RESOURCE_FORK_KEY "resource-fork" |
#define | DMG_PLIST_BLOCK_LIST_KEY "blkx" |
#define | DMG_PLIST_ATTRIBUTES "Attributes" |
#define | DMG_PLIST_CFNAME "CFName" |
#define | DMG_PLIST_DATA "Data" |
#define | DMG_PLIST_ID "ID" |
#define | DMG_PLIST_NAME "Name" |
Functions | |
BOOLEAN | InternalParsePlist (IN CHAR8 *Plist, IN UINT32 PlistSize, IN UINTN SectorCount, IN UINTN DataForkOffset, IN UINTN DataForkSize, OUT UINT32 *BlockCount, OUT APPLE_DISK_IMAGE_BLOCK_DATA ***Blocks) |
BOOLEAN | InternalGetBlockChunk (IN OC_APPLE_DISK_IMAGE_CONTEXT *Context, IN UINTN Lba, OUT APPLE_DISK_IMAGE_BLOCK_DATA **Data, OUT APPLE_DISK_IMAGE_CHUNK **Chunk) |
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.
Definition in file OcAppleDiskImageLibInternal.h.
#define BASE_256B 0x0100U |
Definition at line 16 of file OcAppleDiskImageLibInternal.h.
#define DMG_PLIST_ATTRIBUTES "Attributes" |
Definition at line 23 of file OcAppleDiskImageLibInternal.h.
#define DMG_PLIST_BLOCK_LIST_KEY "blkx" |
Definition at line 22 of file OcAppleDiskImageLibInternal.h.
#define DMG_PLIST_CFNAME "CFName" |
Definition at line 24 of file OcAppleDiskImageLibInternal.h.
#define DMG_PLIST_DATA "Data" |
Definition at line 25 of file OcAppleDiskImageLibInternal.h.
#define DMG_PLIST_ID "ID" |
Definition at line 26 of file OcAppleDiskImageLibInternal.h.
#define DMG_PLIST_NAME "Name" |
Definition at line 27 of file OcAppleDiskImageLibInternal.h.
#define DMG_PLIST_RESOURCE_FORK_KEY "resource-fork" |
Definition at line 21 of file OcAppleDiskImageLibInternal.h.
#define DMG_SECTOR_START_ABS | ( | b, | |
c ) |
Definition at line 19 of file OcAppleDiskImageLibInternal.h.
#define SIZE_512B 0x0200U |
Definition at line 17 of file OcAppleDiskImageLibInternal.h.
BOOLEAN InternalGetBlockChunk | ( | IN OC_APPLE_DISK_IMAGE_CONTEXT * | Context, |
IN UINTN | Lba, | ||
OUT APPLE_DISK_IMAGE_BLOCK_DATA ** | Data, | ||
OUT APPLE_DISK_IMAGE_CHUNK ** | Chunk ) |
Definition at line 326 of file OcAppleDiskImageLibInternal.c.
BOOLEAN InternalParsePlist | ( | IN CHAR8 * | Plist, |
IN UINT32 | PlistSize, | ||
IN UINTN | SectorCount, | ||
IN UINTN | DataForkOffset, | ||
IN UINTN | DataForkSize, | ||
OUT UINT32 * | BlockCount, | ||
OUT APPLE_DISK_IMAGE_BLOCK_DATA *** | Blocks ) |
< Result must be FALSE on error, it's checked at DONE_ERROR
Definition at line 165 of file OcAppleDiskImageLibInternal.c.