On Fri, Aug 26, 2022 at 08:21:49AM +, Xu, Min M wrote:
> On August 26, 2022 1:23 PM, Gerd Hoffmann wrote:
> > Hi,
> >
> > > In DxeCcProbeLib we cache the GuestType in Ovmf work area in first-call.
> > > After that the Guest type is returned with the cached value. So that
> > > we don't need
On August 26, 2022 1:23 PM, Gerd Hoffmann wrote:
> Hi,
>
> > In DxeCcProbeLib we cache the GuestType in Ovmf work area in first-call.
> > After that the Guest type is returned with the cached value. So that
> > we don't need to worry about the access to Ovmf work area after
> > ExitBootService.
Hi,
> In DxeCcProbeLib we cache the GuestType in Ovmf work area in first-call.
> After that the Guest type is returned with the cached value. So that we
> don't need to worry about the access to Ovmf work area after
> ExitBootService.
This only works in case the first call is early enough.
Bett
From: Min M Xu
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3974
CcProbeLib once was designed to probe the Confidential Computing guest
type by checking the PcdOvmfWorkArea. But this memory is allocated with
either EfiACPIMemoryNVS or EfiBootServicesData. It cannot be accessed
after ExitBo