OpenCore
1.0.4
OpenCore Bootloader
|
#include <Uefi.h>
#include <Library/BaseLib.h>
#include <Library/BaseOverflowLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcAppleDiskImageLib.h>
#include <Library/OcXmlLib.h>
#include "OcAppleDiskImageLibInternal.h"
Go to the source code of this file.
Functions | |
STATIC BOOLEAN | InternalFindPlistDictChild (IN XML_NODE *Node, IN CHAR8 *KeyName, OUT XML_NODE **Key, OUT XML_NODE **Value) |
STATIC BOOLEAN | InternalSwapBlockData (IN OUT APPLE_DISK_IMAGE_BLOCK_DATA *BlockData, IN UINT32 MaxSize, IN UINTN SectorCount, IN UINTN DataForkOffset, IN UINTN DataForkSize) |
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.c.
STATIC BOOLEAN InternalFindPlistDictChild | ( | IN XML_NODE * | Node, |
IN CHAR8 * | KeyName, | ||
OUT XML_NODE ** | Key, | ||
OUT XML_NODE ** | Value ) |
Definition at line 26 of file OcAppleDiskImageLibInternal.c.
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.
STATIC BOOLEAN InternalSwapBlockData | ( | IN OUT APPLE_DISK_IMAGE_BLOCK_DATA * | BlockData, |
IN UINT32 | MaxSize, | ||
IN UINTN | SectorCount, | ||
IN UINTN | DataForkOffset, | ||
IN UINTN | DataForkSize ) |
Definition at line 68 of file OcAppleDiskImageLibInternal.c.