]> git.proxmox.com Git - mirror_edk2.git/commit
UefiPayloadPkg: Support variable size MMCONF space
authorMarcello Sylvester Bauer <marcello.bauer@9elements.com>
Wed, 22 Jul 2020 09:00:29 +0000 (11:00 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 16 Sep 2020 06:36:18 +0000 (06:36 +0000)
commit8028b2907e20b21cd7d69639a36ac82a77c81dc1
treefc04c5eb3844c2c8c6e6e4c7a9fb8748c9a2886d
parent5c065855284bd0ca65784d313e094054e23685bb
UefiPayloadPkg: Support variable size MMCONF space

The default size is still 256MiB, but will be overwritten by
UefiPayloadPkg with the real MMCONF size.

e.g.: On embedded AMD platforms the MMCONF window size is usually
      only 64MiB.

Fixes crash on platforms not exposing 256 buses.
Tested on:
* AMD Stoney Ridge

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Marcello Sylvester Bauer <marcello.bauer@9elements.com>
Cc: Patrick Rudolph <patrick.rudolph@9elements.com>
Cc: Christian Walter <christian.walter@9elements.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
UefiPayloadPkg/BlSupportDxe/BlSupportDxe.c
UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf
UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc