Add the SEC module for RISC-V Qemu virt machine support. It uses the PEI less design. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Acked-by: Abner Chang <abner.chang@amd.com> Reviewed-by: Andrei Warkentin <andrei.warkentin@intel.com> Acked-by: Jiewen Yao <Jiewen.yao@intel.com> Acked-by: Ard Biesheuvel <ardb@kernel.org>
34 lines
550 B
C
34 lines
550 B
C
/** @file
|
|
The library call to pass the device tree to DXE via HOB.
|
|
|
|
Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
|
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
//
|
|
//// The package level header files this module uses
|
|
////
|
|
#include <PiPei.h>
|
|
|
|
#include <Library/DebugLib.h>
|
|
#include <Library/HobLib.h>
|
|
|
|
/**
|
|
Cpu Peim initialization.
|
|
|
|
**/
|
|
EFI_STATUS
|
|
CpuPeimInitialization (
|
|
VOID
|
|
)
|
|
{
|
|
//
|
|
// for MMU type >= sv39
|
|
//
|
|
BuildCpuHob (56, 32);
|
|
|
|
return EFI_SUCCESS;
|
|
}
|