Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 78c373f2a5273af00b23b55d3e8c41583310cfb6
      
https://github.com/tianocore/edk2/commit/78c373f2a5273af00b23b55d3e8c41583310cfb6
  Author: Gerd Hoffmann <[email protected]>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M OvmfPkg/PlatformPei/AmdSev.c
    M OvmfPkg/PlatformPei/Platform.c
    M OvmfPkg/PlatformPei/Platform.h

  Log Message:
  -----------
  OvmfPkg/PlatformPei: AmdSev: stop using mPlatformInfoHob

Stop using the mPlatformInfoHob global variable in AmdSevInitialize()
and AmdSevEsInitialize() functions.  Pass a pointer to the
PlatformInfoHob instead.

Signed-off-by: Gerd Hoffmann <[email protected]>
Tested-by: Tom Lendacky <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>


  Commit: 9d9d15b42a5e13bb18729da0f608c629aa274e80
      
https://github.com/tianocore/edk2/commit/9d9d15b42a5e13bb18729da0f608c629aa274e80
  Author: Gerd Hoffmann <[email protected]>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M OvmfPkg/PlatformPei/Fv.c
    M OvmfPkg/PlatformPei/Platform.c
    M OvmfPkg/PlatformPei/Platform.h

  Log Message:
  -----------
  OvmfPkg/PlatformPei: PeiFv: stop using mPlatformInfoHob

Stop using the mPlatformInfoHob global variable in PeiFvInitialization()
function.  Pass a pointer to the PlatformInfoHob instead.

Signed-off-by: Gerd Hoffmann <[email protected]>
Tested-by: Tom Lendacky <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>


  Commit: 00743d144bc5b643e9323ad66f16cb48cf338705
      
https://github.com/tianocore/edk2/commit/00743d144bc5b643e9323ad66f16cb48cf338705
  Author: Gerd Hoffmann <[email protected]>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M OvmfPkg/PlatformPei/MemDetect.c
    M OvmfPkg/PlatformPei/Platform.c
    M OvmfPkg/PlatformPei/Platform.h

  Log Message:
  -----------
  OvmfPkg/PlatformPei Q35 SMM helpers: stop using mPlatformInfoHob

Stop using the mPlatformInfoHob global variable in
Q35TsegMbytesInitialization() and
Q35SmramAtDefaultSmbaseInitialization() ) functions.
Pass a pointer to the PlatformInfoHob instead.

Signed-off-by: Gerd Hoffmann <[email protected]>
Tested-by: Tom Lendacky <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>


  Commit: 27874a382c38a95d3ab613eebd35c152ca9b3897
      
https://github.com/tianocore/edk2/commit/27874a382c38a95d3ab613eebd35c152ca9b3897
  Author: Gerd Hoffmann <[email protected]>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M OvmfPkg/PlatformPei/MemDetect.c
    M OvmfPkg/PlatformPei/Platform.c
    M OvmfPkg/PlatformPei/Platform.h

  Log Message:
  -----------
  OvmfPkg/PlatformPei: PeiMemory: stop using mPlatformInfoHob

Stop using the mPlatformInfoHob global variable in PublishPeiMemory()
and GetPeiMemoryCap() functions.  Pass a pointer to the PlatformInfoHob
instead.

Signed-off-by: Gerd Hoffmann <[email protected]>
Tested-by: Tom Lendacky <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>


  Commit: cc6efda7770b8cabea3ae8c6054d47c4a8e229c3
      
https://github.com/tianocore/edk2/commit/cc6efda7770b8cabea3ae8c6054d47c4a8e229c3
  Author: Gerd Hoffmann <[email protected]>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M OvmfPkg/PlatformPei/MemTypeInfo.c
    M OvmfPkg/PlatformPei/Platform.c
    M OvmfPkg/PlatformPei/Platform.h

  Log Message:
  -----------
  OvmfPkg/PlatformPei: MemTypeInfo: stop using mPlatformInfoHob

Stop using the mPlatformInfoHob global variable in MemTypeInfoInitialization()
function.  Pass a pointer to the PlatformInfoHob instead.

Signed-off-by: Gerd Hoffmann <[email protected]>
Tested-by: Tom Lendacky <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>


  Commit: 7dbb8a24d1a3403f85d959bc1234b9f4a92bfbf0
      
https://github.com/tianocore/edk2/commit/7dbb8a24d1a3403f85d959bc1234b9f4a92bfbf0
  Author: Gerd Hoffmann <[email protected]>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M OvmfPkg/PlatformPei/Platform.c

  Log Message:
  -----------
  OvmfPkg/PlatformPei: NoExec: stop using mPlatformInfoHob

Stop using the mPlatformInfoHob global variable in NoexecDxeInitialization()
function.  Pass a pointer to the PlatformInfoHob instead.

Signed-off-by: Gerd Hoffmann <[email protected]>
Tested-by: Tom Lendacky <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>


  Commit: 4bc2c748516e5c4a8bb86093cd5e1b80a9f35c0f
      
https://github.com/tianocore/edk2/commit/4bc2c748516e5c4a8bb86093cd5e1b80a9f35c0f
  Author: Gerd Hoffmann <[email protected]>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M OvmfPkg/PlatformPei/Platform.c

  Log Message:
  -----------
  OvmfPkg/PlatformPei: Verification: stop using mPlatformInfoHob

Stop using the mPlatformInfoHob global variable in S3Verification() and
Q35BoardVerification() functions.  Pass a pointer to the PlatformInfoHob
instead.

Signed-off-by: Gerd Hoffmann <[email protected]>
Tested-by: Tom Lendacky <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>


  Commit: 862614e2544997c848fab7388733774ae0ea92d8
      
https://github.com/tianocore/edk2/commit/862614e2544997c848fab7388733774ae0ea92d8
  Author: Gerd Hoffmann <[email protected]>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M OvmfPkg/PlatformPei/Platform.c
    M OvmfPkg/PlatformPei/Platform.h

  Log Message:
  -----------
  OvmfPkg/PlatformPei: remove mPlatformInfoHob

Stop using the mPlatformInfoHob global variable.  Let
BuildPlatformInfoHob() allocate and return PlatformInfoHob instead.

Signed-off-by: Gerd Hoffmann <[email protected]>
Tested-by: Tom Lendacky <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>


  Commit: f6a196c7eb34affff0cfe1864e126953096885e1
      
https://github.com/tianocore/edk2/commit/f6a196c7eb34affff0cfe1864e126953096885e1
  Author: Gerd Hoffmann <[email protected]>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M OvmfPkg/Include/Library/PlatformInitLib.h
    M OvmfPkg/PlatformPei/FeatureControl.c
    M OvmfPkg/PlatformPei/Platform.c
    M OvmfPkg/PlatformPei/Platform.h

  Log Message:
  -----------
  OvmfPkg/PlatformPei: remove mFeatureControlValue

Use PlatformInfoHob->FeatureControlValue instead.
OnMpServicesAvailable() will find PlatformInfoHob using
GetFirstGuidHob() and pass a pointer to the WriteFeatureControl
callback.

Signed-off-by: Gerd Hoffmann <[email protected]>
Tested-by: Tom Lendacky <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>


  Commit: e59747bd8246135faeecc18879d62db66a6acfc2
      
https://github.com/tianocore/edk2/commit/e59747bd8246135faeecc18879d62db66a6acfc2
  Author: Gerd Hoffmann <[email protected]>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M OvmfPkg/AmdSev/AmdSevX64.dsc
    M OvmfPkg/Bhyve/BhyveX64.dsc
    M OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
    M OvmfPkg/Microvm/MicrovmX64.dsc
    M OvmfPkg/OvmfPkgIa32.dsc
    M OvmfPkg/OvmfPkgIa32X64.dsc
    M OvmfPkg/OvmfPkgX64.dsc

  Log Message:
  -----------
  OvmfPkg/DebugLibIoPort: use Rom version for PEI

This variant does not use global variables.

Signed-off-by: Gerd Hoffmann <[email protected]>
Tested-by: Tom Lendacky <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>


  Commit: 81bbc1452c972218f071cd4a8f5899df974b1dae
      
https://github.com/tianocore/edk2/commit/81bbc1452c972218f071cd4a8f5899df974b1dae
  Author: Gerd Hoffmann <[email protected]>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPei.c
    M OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf

  Log Message:
  -----------
  OvmfPkg/QemuFwCfgLib: rewrite fw_cfg probe

Move the code to a new QemuFwCfgProbe() function.  Use direct Io*() calls
instead of indirect QemuFwCfg*() calls to make sure we don't get
recursive calls.  Also simplify CC guest detection.

Signed-off-by: Gerd Hoffmann <[email protected]>
Tested-by: Tom Lendacky <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>


  Commit: cda98df16228970dcf9a4ce2af5368219711b4b0
      
https://github.com/tianocore/edk2/commit/cda98df16228970dcf9a4ce2af5368219711b4b0
  Author: Gerd Hoffmann <[email protected]>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    M OvmfPkg/Include/Library/PlatformInitLib.h
    M OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPei.c
    M OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf

  Log Message:
  -----------
  OvmfPkg/QemuFwCfgLib: remove mQemuFwCfgSupported + mQemuFwCfgDmaSupported

Remove global variables, store the state in PlatformInfoHob instead.
Probing for fw_cfg happens on first use, at library initialization
time the Hob might not be present yet.

Signed-off-by: Gerd Hoffmann <[email protected]>
Tested-by: Tom Lendacky <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/916825b84f23...cda98df16228


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to