[Bug 2206] New: UefiCpuPkg should not depends on MdeModulePkg


bugzilla-daemon at bugzilla.tianocore.org...
 

https://bugzilla.tianocore.org/show_bug.cgi?id=2206

Bug ID: 2206
Summary: UefiCpuPkg should not depends on MdeModulePkg
Product: EDK2
Version: Current
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Lowest
Component: Code
Assignee: michael.d.kinney(a)intel.com
Reporter: eric.dong(a)intel.com
CC: edk2-bugs(a)lists.01.org

Submit this bugz to clean up the dependence between UefiCpuPkg and
MdeModulePkg. UefiCpuPkg should not depends on MdeModulePkg.

After search the UefiCpuPkg today (2019/09/19), found below dependence issues:

1. gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask
1. Page table related feature. This is AMD specific feature.
2. Impacted Drivers:
1. CpuMpPei
2. CpuDxe
3. PiSmmCpuDxeSmm
4. S3Resume2Pei

2. gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard
1. Cpu Stack Guard feature.
2. Impact Drivers:
1. CpuDxe
2. CpuMpPei
3. CpuExceptionHandlerLib

3. gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPropertyMask
1. Cpu Heap Guard feature.
2. Impacted Drivers:
1. CpuDxe
2. PiSmmCpuDxeSmm

4. gEfiMdeModulePkgTokenSpaceGuid.PcdNullPointerDetectionPropertyMask
1. Cpu Null Pointer Detection feature.
2. Impact drivers:
1. CpuDxe
2. PiSmmCpuDxeSmm

5. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable
1. Acpi S3 feature.
2. Impact drivers:
1. CpuS3DataDxe
2. PiSmmCpuDxeSmm

6. gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable
1. 1G page table feature.
2. Impact drivers:
1. S3Resume2Pei

7. gEdkiiS3SmmInitDoneGuid/gEdkiiEndOfS3ResumeGuid
1. Acpi S3 feature.
2. Impact drivers:
1. S3Resume2Pei

8. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
1. DxeIpl should switch to long mode to enter DXE phase
2. Impact drivers:
1. S3Resume2Pei

9. gEfiFirmwarePerformanceGuid
1. Performance
2. Impact drivers:
1. SecCore

10. gEfiPeiSmmCommunicationPpiGuid
1. Smm Communication supports
2. Impact drivers:
1.PiSmmCommunication

11. TpmMeasurementLib
1. Tpm measure
2. Impact drivers
1.
UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf

--
You are receiving this mail because:
You are on the CC list for the bug.