+#define FW_CFG_NX_STACK_ITEM "opt/ovmf/PcdSetNxForStack"Why this is needed?+//+// Values we program into the PM base address registers //+#define PIIX4_PMBA_VALUE 0xB000+#define ICH9_PMBASE_VALUE 0x0600They are in OvmfPkg/Include/OvmfPlatforms.h, no need to copy them over.+VOID+PciExBarInitialization (+VOID+MiscInitialization (Cut+Paste from PlatformPeiPlease refactor the code (move the functions needed to a Library?) so wedon't have multiple copies of the setup code.
+#define FW_CFG_NX_STACK_ITEM "opt/ovmf/PcdSetNxForStack"
+//+// Values we program into the PM base address registers //+#define PIIX4_PMBA_VALUE 0xB000+#define ICH9_PMBASE_VALUE 0x0600
+VOID+PciExBarInitialization (
+VOID+MiscInitialization (
© 2023 Groups.io