OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
OcApfsIo.c File Reference
#include "OcApfsInternal.h"
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/BaseOverflowLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcApfsLib.h>

Go to the source code of this file.

Functions

STATIC UINT64 ApfsFletcher64 (VOID *Data, UINTN DataSize)
 
STATIC BOOLEAN ApfsBlockChecksumVerify (APFS_OBJ_PHYS *Block, UINTN DataSize)
 
STATIC EFI_STATUS ApfsReadJumpStart (IN APFS_PRIVATE_DATA *PrivateData, OUT APFS_NX_EFI_JUMPSTART **JumpStartPtr)
 
STATIC EFI_STATUS ApfsReadDriver (IN APFS_PRIVATE_DATA *PrivateData, IN APFS_NX_EFI_JUMPSTART *JumpStart, OUT UINT32 *DriverSize, OUT VOID **DriverBuffer)
 
EFI_STATUS InternalApfsReadSuperBlock (IN EFI_BLOCK_IO_PROTOCOL *BlockIo, OUT APFS_NX_SUPERBLOCK **SuperBlockPtr)
 
EFI_STATUS InternalApfsReadDriver (IN APFS_PRIVATE_DATA *PrivateData, OUT UINT32 *DriverSize, OUT VOID **DriverBuffer)
 

Detailed Description

Copyright (C) 2020, vit9696. All rights reserved.

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 OcApfsIo.c.

Function Documentation

◆ ApfsBlockChecksumVerify()

STATIC BOOLEAN ApfsBlockChecksumVerify ( APFS_OBJ_PHYS * Block,
UINTN DataSize )

Definition at line 88 of file OcApfsIo.c.

◆ ApfsFletcher64()

STATIC UINT64 ApfsFletcher64 ( VOID * Data,
UINTN DataSize )

Definition at line 25 of file OcApfsIo.c.

◆ ApfsReadDriver()

STATIC EFI_STATUS ApfsReadDriver ( IN APFS_PRIVATE_DATA * PrivateData,
IN APFS_NX_EFI_JUMPSTART * JumpStart,
OUT UINT32 * DriverSize,
OUT VOID ** DriverBuffer )

Definition at line 204 of file OcApfsIo.c.

◆ ApfsReadJumpStart()

STATIC EFI_STATUS ApfsReadJumpStart ( IN APFS_PRIVATE_DATA * PrivateData,
OUT APFS_NX_EFI_JUMPSTART ** JumpStartPtr )

Definition at line 112 of file OcApfsIo.c.

◆ InternalApfsReadDriver()

EFI_STATUS InternalApfsReadDriver ( IN APFS_PRIVATE_DATA * PrivateData,
OUT UINT32 * DriverSize,
OUT VOID ** DriverBuffer )

Definition at line 403 of file OcApfsIo.c.

◆ InternalApfsReadSuperBlock()

EFI_STATUS InternalApfsReadSuperBlock ( IN EFI_BLOCK_IO_PROTOCOL * BlockIo,
OUT APFS_NX_SUPERBLOCK ** SuperBlockPtr )

Definition at line 283 of file OcApfsIo.c.