OpenCore
1.0.4
OpenCore Bootloader
|
Go to the source code of this file.
Data Structures | |
struct | APFS_DRIVER_VERSION_ |
struct | PhysicalRange_ |
struct | APFS_WRAPPED_CRYPTO_STATE |
struct | APFS_MODIFIED_BY |
struct | APFS_OBJ_PHYS_ |
struct | APFS_NX_SUPERBLOCK_ |
struct | APFS_APFS_SUPERBLOCK_ |
struct | APFS_NX_EFI_JUMPSTART_ |
Typedefs | |
typedef struct APFS_DRIVER_VERSION_ | APFS_DRIVER_VERSION |
typedef struct PhysicalRange_ | APFS_PHYSICAL_RANGE |
typedef struct APFS_OBJ_PHYS_ | APFS_OBJ_PHYS |
typedef struct APFS_NX_SUPERBLOCK_ | APFS_NX_SUPERBLOCK |
typedef struct APFS_APFS_SUPERBLOCK_ | APFS_APFS_SUPERBLOCK |
typedef struct APFS_NX_EFI_JUMPSTART_ | APFS_NX_EFI_JUMPSTART |
Functions | |
STATIC_ASSERT (sizeof(APFS_NX_SUPERBLOCK)==1384, "APFS_NX_SUPERBLOCK has unexpected size") | |
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 Apfs.h.
#define APFS_DRIVER_VERSION_MAGIC SIGNATURE_32 ('A', 'P', 'F', 'S') |
#define APFS_FUSION_TIER2_DEVICE_BYTE_ADDR 0x4000000000000000ULL |
#define APFS_NX_EFI_JUMPSTART_MAGIC SIGNATURE_32 ('J', 'S', 'D', 'R') |
typedef struct APFS_APFS_SUPERBLOCK_ APFS_APFS_SUPERBLOCK |
APSB volume header structure
typedef struct APFS_DRIVER_VERSION_ APFS_DRIVER_VERSION |
APFS driver version structure.
typedef struct APFS_NX_EFI_JUMPSTART_ APFS_NX_EFI_JUMPSTART |
JSDR block structure
typedef struct APFS_NX_SUPERBLOCK_ APFS_NX_SUPERBLOCK |
NXSB Container Superblock The container superblock is the entry point to the filesystem. Because of the structure with containers and flexible volumes, allocation needs to handled on a container level. The container superblock contains information on the blocksize, the number of blocks and pointers to the spacemanager for this task. Additionally the block IDs of all volumes are stored in the superblock. To map block IDs to block offsets a pointer to a block map b-tree is stored. This b-tree contains entries for each volume with its ID and offset.
typedef struct APFS_OBJ_PHYS_ APFS_OBJ_PHYS |
Any object is prefixed with this header.
typedef struct PhysicalRange_ APFS_PHYSICAL_RANGE |
A range of physical addresses.
STATIC_ASSERT | ( | sizeof(APFS_NX_SUPERBLOCK) | = =1384, |
"APFS_NX_SUPERBLOCK has unexpected size" | ) |