summaryrefslogtreecommitdiffstats
path: root/meta-agl-test/conf/layer.conf
blob: a1c182052af57bbdb9d8d7dba611a9412a5322ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "agl-test"
BBFILE_PATTERN_agl-test = "^${LAYERDIR}/"

# This should only be incremented on significant changes that will
# cause compatibility issues with other layers
LAYERVERSION_agl-test = "1"

LAYERSERIES_COMPAT_agl-test = "scarthgap"
p"> #include <Library/DebugLib.h> #include <Library/HobLib.h> #include <Library/PeiServicesLib.h> #include <Library/PcdLib.h> /** Publish PEI & DXE (Decompressed) Memory based FVs to let PEI and DXE know about them. @retval EFI_SUCCESS Platform PEI FVs were initialized successfully. **/ EFI_STATUS PeiFvInitialization ( VOID ) { DEBUG ((DEBUG_INFO, "Platform PEI Firmware Volume Initialization\n")); // // Create a memory allocation HOB for the PEI FV. // // Allocate as ACPI NVS is S3 is supported // BuildMemoryAllocationHob ( PcdGet32 (PcdOvmfPeiMemFvBase), PcdGet32 (PcdOvmfPeiMemFvSize), EfiBootServicesData ); // // Let DXE know about the DXE FV // BuildFvHob (PcdGet32 (PcdOvmfDxeMemFvBase), PcdGet32 (PcdOvmfDxeMemFvSize)); // // Create a memory allocation HOB for the DXE FV. // // If "secure" S3 is needed, then SEC will decompress both PEI and DXE // firmware volumes at S3 resume too, hence we need to keep away the OS from // DXEFV as well. Otherwise we only need to keep away DXE itself from the // DXEFV area. // BuildMemoryAllocationHob ( PcdGet32 (PcdOvmfDxeMemFvBase), PcdGet32 (PcdOvmfDxeMemFvSize), EfiBootServicesData ); // // Let PEI know about the DXE FV so it can find the DXE Core // PeiServicesInstallFvInfoPpi ( NULL, (VOID *)(UINTN) PcdGet32 (PcdOvmfDxeMemFvBase), PcdGet32 (PcdOvmfDxeMemFvSize), NULL, NULL ); return EFI_SUCCESS; }