OpenCore
1.0.4
OpenCore Bootloader
|
#include <EfiFlashMap.h>
Go to the source code of this file.
Data Structures | |
struct | BOOT1_LOADER |
Macros | |
#define | FV_BLOCK_SIZE 0x10000 |
#define | FV_BLOCK_MASK 0x0FFFF |
#define | EFI_RUNTIME_UPDATABLE_FV_HEADER_LENGTH (sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY)) |
#define | NV_STORAGE_SIZE 0x4000 |
#define | NV_STORAGE_FVB_SIZE ((NV_STORAGE_SIZE + EFI_RUNTIME_UPDATABLE_FV_HEADER_LENGTH + FV_BLOCK_MASK) & ~FV_BLOCK_MASK) |
#define | NV_STORAGE_FVB_BLOCK_NUM (NV_STORAGE_FVB_SIZE / FV_BLOCK_SIZE) |
#define | NV_FTW_WORKING_SIZE 0x2000 |
#define | NV_FTW_SPARE_SIZE 0x10000 |
#define | NV_FTW_FVB_SIZE ((NV_FTW_WORKING_SIZE + NV_FTW_SPARE_SIZE + EFI_RUNTIME_UPDATABLE_FV_HEADER_LENGTH + FV_BLOCK_MASK) & ~FV_BLOCK_MASK) |
#define | NV_FTW_FVB_BLOCK_NUM (NV_FTW_FVB_SIZE / FV_BLOCK_SIZE) |
#define | NV_STORAGE_FILE_PATH L".\\Efivar.bin" |
#define | BOOT1_BASE ((UINTN) 0xE000U) |
#define | BOOT1_MAGIC 0xAA55 |
Copyright (c) 2007, Intel Corporation. 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.
Module Name:
Abstract:
Platform specific flash layout
Definition in file FlashLayout.h.
#define BOOT1_BASE ((UINTN) 0xE000U) |
Definition at line 45 of file FlashLayout.h.
#define BOOT1_MAGIC 0xAA55 |
Definition at line 46 of file FlashLayout.h.
#define EFI_RUNTIME_UPDATABLE_FV_HEADER_LENGTH (sizeof (EFI_FIRMWARE_VOLUME_HEADER) + sizeof (EFI_FV_BLOCK_MAP_ENTRY)) |
Definition at line 32 of file FlashLayout.h.
#define FV_BLOCK_MASK 0x0FFFF |
Definition at line 31 of file FlashLayout.h.
#define FV_BLOCK_SIZE 0x10000 |
Definition at line 30 of file FlashLayout.h.
#define NV_FTW_FVB_BLOCK_NUM (NV_FTW_FVB_SIZE / FV_BLOCK_SIZE) |
Definition at line 41 of file FlashLayout.h.
#define NV_FTW_FVB_SIZE ((NV_FTW_WORKING_SIZE + NV_FTW_SPARE_SIZE + EFI_RUNTIME_UPDATABLE_FV_HEADER_LENGTH + FV_BLOCK_MASK) & ~FV_BLOCK_MASK) |
Definition at line 40 of file FlashLayout.h.
#define NV_FTW_SPARE_SIZE 0x10000 |
Definition at line 39 of file FlashLayout.h.
#define NV_FTW_WORKING_SIZE 0x2000 |
Definition at line 38 of file FlashLayout.h.
#define NV_STORAGE_FILE_PATH L".\\Efivar.bin" |
Definition at line 43 of file FlashLayout.h.
#define NV_STORAGE_FVB_BLOCK_NUM (NV_STORAGE_FVB_SIZE / FV_BLOCK_SIZE) |
Definition at line 36 of file FlashLayout.h.
#define NV_STORAGE_FVB_SIZE ((NV_STORAGE_SIZE + EFI_RUNTIME_UPDATABLE_FV_HEADER_LENGTH + FV_BLOCK_MASK) & ~FV_BLOCK_MASK) |
Definition at line 35 of file FlashLayout.h.
#define NV_STORAGE_SIZE 0x4000 |
Definition at line 34 of file FlashLayout.h.