OpenCore
1.0.4
OpenCore Bootloader
|
Go to the source code of this file.
Macros | |
#define | PCD_RELOC_TYPE_POLICY_ARM BIT0 |
#define | IMAGE_CERTIFICATE_ALIGN 8U |
Functions | |
STATIC_ASSERT (ALIGNOF(WIN_CERTIFICATE)<=IMAGE_CERTIFICATE_ALIGN, "The PE/COFF specification guarantee does not suffice.") | |
STATIC_ASSERT (sizeof(UINT32)==ALIGNOF(EFI_IMAGE_BASE_RELOCATION_BLOCK), "The current model violates the PE/COFF specification") | |
RETURN_STATUS | PeCoffLoadImageInplaceNoBase (IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *Context) |
Provides shared private definitions across this library.
Copyright (c) 2020 - 2021, Marvin Häuser. All rights reserved.
Copyright (c) 2020, Vitaly Cheptsov. All rights reserved.
Copyright (c) 2020, ISP RAS. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
Definition in file BasePeCoffLib2Internals.h.
#define IMAGE_CERTIFICATE_ALIGN 8U |
Denotes the alignment requirement for Image certificate sizes.
Definition at line 26 of file BasePeCoffLib2Internals.h.
#define PCD_RELOC_TYPE_POLICY_ARM BIT0 |
If set, ARM Thumb Image relocations are supported.
Definition at line 21 of file BasePeCoffLib2Internals.h.
RETURN_STATUS PeCoffLoadImageInplaceNoBase | ( | IN OUT PE_COFF_LOADER_IMAGE_CONTEXT * | Context | ) |
STATIC_ASSERT | ( | ALIGNOF(WIN_CERTIFICATE)<= | IMAGE_CERTIFICATE_ALIGN, |
"The PE/COFF specification guarantee does not suffice." | ) |
STATIC_ASSERT | ( | sizeof(UINT32) | = =ALIGNOF(EFI_IMAGE_BASE_RELOCATION_BLOCK), |
"The current model violates the PE/COFF specification" | ) |