mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-24 10:17:45 +02:00
OvmfPkg: RiscVVirt: Add missing SerialPortInitialize to Sec
If the SerialPortLib had any initialization needed, this would be skipped in the RiscVVirt Sec. Follow the example seen elsewhere (ArmVirtPkg PrePi). Seen with BaseSerialPortLibRiscVSbiLibRam not using DBCN in Sec, yet using DBCN elsewhere. Cc: Daniel Schaefer <git@danielschaefer.me> Signed-off-by: Andrei Warkentin <andrei.warkentin@intel.com> Reviewed-by: Sunil V L <sunilvl@ventanamicro.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
parent
cfa47214a3
commit
6e52f058f3
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
RISC-V SEC phase module for Qemu Virt.
|
RISC-V SEC phase module for Qemu Virt.
|
||||||
|
|
||||||
Copyright (c) 2008 - 2015, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2008 - 2023, Intel Corporation. All rights reserved.<BR>
|
||||||
Copyright (c) 2022, Ventana Micro Systems Inc. All rights reserved.<BR>
|
Copyright (c) 2022, Ventana Micro Systems Inc. All rights reserved.<BR>
|
||||||
|
|
||||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
@ -57,6 +57,8 @@ SecStartup (
|
|||||||
UINT64 StackBase;
|
UINT64 StackBase;
|
||||||
UINT32 StackSize;
|
UINT32 StackSize;
|
||||||
|
|
||||||
|
SerialPortInitialize ();
|
||||||
|
|
||||||
//
|
//
|
||||||
// Report Status Code to indicate entering SEC core
|
// Report Status Code to indicate entering SEC core
|
||||||
//
|
//
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#include <Library/PrePiLib.h>
|
#include <Library/PrePiLib.h>
|
||||||
#include <Library/PlatformInitLib.h>
|
#include <Library/PlatformInitLib.h>
|
||||||
#include <Library/PrePiHobListPointerLib.h>
|
#include <Library/PrePiHobListPointerLib.h>
|
||||||
|
#include <Library/SerialPortLib.h>
|
||||||
#include <Register/RiscV64/RiscVImpl.h>
|
#include <Register/RiscV64/RiscVImpl.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -48,6 +48,7 @@
|
|||||||
FdtLib
|
FdtLib
|
||||||
MemoryAllocationLib
|
MemoryAllocationLib
|
||||||
HobLib
|
HobLib
|
||||||
|
SerialPortLib
|
||||||
|
|
||||||
[Ppis]
|
[Ppis]
|
||||||
gEfiTemporaryRamSupportPpiGuid # PPI ALWAYS_PRODUCED
|
gEfiTemporaryRamSupportPpiGuid # PPI ALWAYS_PRODUCED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user