[edk2] [Patch 0/2] Add Management Mode infrastructure support.

Eric Dong posted 2 patches 7 years, 4 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
MdePkg/Include/Pi/PiMmCis.h                        | 350 +++++++++++++++++++++
MdePkg/Include/Pi/PiMultiPhase.h                   |  26 +-
MdePkg/Include/Pi/PiSmmCis.h                       | 183 ++---------
MdePkg/Include/PiMm.h                              |  25 ++
MdePkg/Include/Protocol/DxeMmReadyToLock.h         |  41 +++
MdePkg/Include/Protocol/DxeSmmReadyToLock.h        |   9 +-
MdePkg/Include/Protocol/MmAccess.h                 | 133 ++++++++
MdePkg/Include/Protocol/MmBase.h                   |  87 +++++
MdePkg/Include/Protocol/MmCommunication.h          |  83 +++++
MdePkg/Include/Protocol/MmConfiguration.h          |  86 +++++
MdePkg/Include/Protocol/MmControl.h                | 106 +++++++
MdePkg/Include/Protocol/MmCpu.h                    | 247 +++++++++++++++
MdePkg/Include/Protocol/MmCpuIo.h                  |  96 ++++++
MdePkg/Include/Protocol/MmEndOfDxe.h               |  33 ++
MdePkg/Include/Protocol/MmGpiDispatch.h            | 125 ++++++++
MdePkg/Include/Protocol/MmIoTrapDispatch.h         | 136 ++++++++
MdePkg/Include/Protocol/MmPciRootBridgeIo.h        |  37 +++
MdePkg/Include/Protocol/MmPeriodicTimerDispatch.h  | 170 ++++++++++
MdePkg/Include/Protocol/MmPowerButtonDispatch.h    | 117 +++++++
MdePkg/Include/Protocol/MmReadyToLock.h            |  35 +++
.../Include/Protocol/MmReportStatusCodeHandler.h   |  81 +++++
MdePkg/Include/Protocol/MmStandbyButtonDispatch.h  | 119 +++++++
MdePkg/Include/Protocol/MmStatusCode.h             |  65 ++++
MdePkg/Include/Protocol/MmSwDispatch.h             | 136 ++++++++
MdePkg/Include/Protocol/MmSxDispatch.h             | 135 ++++++++
MdePkg/Include/Protocol/MmUsbDispatch.h            | 130 ++++++++
MdePkg/Include/Protocol/SmmAccess2.h               | 103 +-----
MdePkg/Include/Protocol/SmmBase2.h                 |   8 +-
MdePkg/Include/Protocol/SmmCommunication.h         |  58 +---
MdePkg/Include/Protocol/SmmConfiguration.h         |   8 +-
MdePkg/Include/Protocol/SmmControl2.h              |  79 +----
MdePkg/Include/Protocol/SmmCpu.h                   | 309 ++++++------------
MdePkg/Include/Protocol/SmmCpuIo2.h                |  79 +----
MdePkg/Include/Protocol/SmmEndOfDxe.h              |   9 +-
MdePkg/Include/Protocol/SmmGpiDispatch2.h          |  98 +-----
MdePkg/Include/Protocol/SmmIoTrapDispatch2.h       | 105 +------
MdePkg/Include/Protocol/SmmPciRootBridgeIo.h       |  11 +-
.../Include/Protocol/SmmPeriodicTimerDispatch2.h   |  16 +-
MdePkg/Include/Protocol/SmmPowerButtonDispatch2.h  |  89 +-----
MdePkg/Include/Protocol/SmmReadyToLock.h           |   7 +-
.../Include/Protocol/SmmReportStatusCodeHandler.h  |  63 +---
.../Include/Protocol/SmmStandbyButtonDispatch2.h   |  89 +-----
MdePkg/Include/Protocol/SmmStatusCode.h            |  42 +--
MdePkg/Include/Protocol/SmmSwDispatch2.h           |   8 +-
MdePkg/Include/Protocol/SmmSxDispatch2.h           | 111 +------
MdePkg/Include/Protocol/SmmUsbDispatch2.h          | 101 +-----
MdePkg/MdePkg.dec                                  |  63 ++++
47 files changed, 2890 insertions(+), 1357 deletions(-)
create mode 100644 MdePkg/Include/Pi/PiMmCis.h
create mode 100644 MdePkg/Include/PiMm.h
create mode 100644 MdePkg/Include/Protocol/DxeMmReadyToLock.h
create mode 100644 MdePkg/Include/Protocol/MmAccess.h
create mode 100644 MdePkg/Include/Protocol/MmBase.h
create mode 100644 MdePkg/Include/Protocol/MmCommunication.h
create mode 100644 MdePkg/Include/Protocol/MmConfiguration.h
create mode 100644 MdePkg/Include/Protocol/MmControl.h
create mode 100644 MdePkg/Include/Protocol/MmCpu.h
create mode 100644 MdePkg/Include/Protocol/MmCpuIo.h
create mode 100644 MdePkg/Include/Protocol/MmEndOfDxe.h
create mode 100644 MdePkg/Include/Protocol/MmGpiDispatch.h
create mode 100644 MdePkg/Include/Protocol/MmIoTrapDispatch.h
create mode 100644 MdePkg/Include/Protocol/MmPciRootBridgeIo.h
create mode 100644 MdePkg/Include/Protocol/MmPeriodicTimerDispatch.h
create mode 100644 MdePkg/Include/Protocol/MmPowerButtonDispatch.h
create mode 100644 MdePkg/Include/Protocol/MmReadyToLock.h
create mode 100644 MdePkg/Include/Protocol/MmReportStatusCodeHandler.h
create mode 100644 MdePkg/Include/Protocol/MmStandbyButtonDispatch.h
create mode 100644 MdePkg/Include/Protocol/MmStatusCode.h
create mode 100644 MdePkg/Include/Protocol/MmSwDispatch.h
create mode 100644 MdePkg/Include/Protocol/MmSxDispatch.h
create mode 100644 MdePkg/Include/Protocol/MmUsbDispatch.h
[edk2] [Patch 0/2] Add Management Mode infrastructure support.
Posted by Eric Dong 7 years, 4 months ago
In PI spec 1.5, System Management Mode name has been changed to Management
mode, it also change all SMM related driver name to avoid use SMI/SmRam/SMM
keywords. 

This patch series add new definition which use Management mode nomenclature. 
Also in order to maintain continuity, this patch also use typedefs and 
#define statements that allow code developed with these earlier versions of 
the specification to compile unchanged.

Eric Dong (2):
  MdePkg: Add new definitions for Management Mode.
  MdePkg: Update exited SMM related definition.

 MdePkg/Include/Pi/PiMmCis.h                        | 350 +++++++++++++++++++++
 MdePkg/Include/Pi/PiMultiPhase.h                   |  26 +-
 MdePkg/Include/Pi/PiSmmCis.h                       | 183 ++---------
 MdePkg/Include/PiMm.h                              |  25 ++
 MdePkg/Include/Protocol/DxeMmReadyToLock.h         |  41 +++
 MdePkg/Include/Protocol/DxeSmmReadyToLock.h        |   9 +-
 MdePkg/Include/Protocol/MmAccess.h                 | 133 ++++++++
 MdePkg/Include/Protocol/MmBase.h                   |  87 +++++
 MdePkg/Include/Protocol/MmCommunication.h          |  83 +++++
 MdePkg/Include/Protocol/MmConfiguration.h          |  86 +++++
 MdePkg/Include/Protocol/MmControl.h                | 106 +++++++
 MdePkg/Include/Protocol/MmCpu.h                    | 247 +++++++++++++++
 MdePkg/Include/Protocol/MmCpuIo.h                  |  96 ++++++
 MdePkg/Include/Protocol/MmEndOfDxe.h               |  33 ++
 MdePkg/Include/Protocol/MmGpiDispatch.h            | 125 ++++++++
 MdePkg/Include/Protocol/MmIoTrapDispatch.h         | 136 ++++++++
 MdePkg/Include/Protocol/MmPciRootBridgeIo.h        |  37 +++
 MdePkg/Include/Protocol/MmPeriodicTimerDispatch.h  | 170 ++++++++++
 MdePkg/Include/Protocol/MmPowerButtonDispatch.h    | 117 +++++++
 MdePkg/Include/Protocol/MmReadyToLock.h            |  35 +++
 .../Include/Protocol/MmReportStatusCodeHandler.h   |  81 +++++
 MdePkg/Include/Protocol/MmStandbyButtonDispatch.h  | 119 +++++++
 MdePkg/Include/Protocol/MmStatusCode.h             |  65 ++++
 MdePkg/Include/Protocol/MmSwDispatch.h             | 136 ++++++++
 MdePkg/Include/Protocol/MmSxDispatch.h             | 135 ++++++++
 MdePkg/Include/Protocol/MmUsbDispatch.h            | 130 ++++++++
 MdePkg/Include/Protocol/SmmAccess2.h               | 103 +-----
 MdePkg/Include/Protocol/SmmBase2.h                 |   8 +-
 MdePkg/Include/Protocol/SmmCommunication.h         |  58 +---
 MdePkg/Include/Protocol/SmmConfiguration.h         |   8 +-
 MdePkg/Include/Protocol/SmmControl2.h              |  79 +----
 MdePkg/Include/Protocol/SmmCpu.h                   | 309 ++++++------------
 MdePkg/Include/Protocol/SmmCpuIo2.h                |  79 +----
 MdePkg/Include/Protocol/SmmEndOfDxe.h              |   9 +-
 MdePkg/Include/Protocol/SmmGpiDispatch2.h          |  98 +-----
 MdePkg/Include/Protocol/SmmIoTrapDispatch2.h       | 105 +------
 MdePkg/Include/Protocol/SmmPciRootBridgeIo.h       |  11 +-
 .../Include/Protocol/SmmPeriodicTimerDispatch2.h   |  16 +-
 MdePkg/Include/Protocol/SmmPowerButtonDispatch2.h  |  89 +-----
 MdePkg/Include/Protocol/SmmReadyToLock.h           |   7 +-
 .../Include/Protocol/SmmReportStatusCodeHandler.h  |  63 +---
 .../Include/Protocol/SmmStandbyButtonDispatch2.h   |  89 +-----
 MdePkg/Include/Protocol/SmmStatusCode.h            |  42 +--
 MdePkg/Include/Protocol/SmmSwDispatch2.h           |   8 +-
 MdePkg/Include/Protocol/SmmSxDispatch2.h           | 111 +------
 MdePkg/Include/Protocol/SmmUsbDispatch2.h          | 101 +-----
 MdePkg/MdePkg.dec                                  |  63 ++++
 47 files changed, 2890 insertions(+), 1357 deletions(-)
 create mode 100644 MdePkg/Include/Pi/PiMmCis.h
 create mode 100644 MdePkg/Include/PiMm.h
 create mode 100644 MdePkg/Include/Protocol/DxeMmReadyToLock.h
 create mode 100644 MdePkg/Include/Protocol/MmAccess.h
 create mode 100644 MdePkg/Include/Protocol/MmBase.h
 create mode 100644 MdePkg/Include/Protocol/MmCommunication.h
 create mode 100644 MdePkg/Include/Protocol/MmConfiguration.h
 create mode 100644 MdePkg/Include/Protocol/MmControl.h
 create mode 100644 MdePkg/Include/Protocol/MmCpu.h
 create mode 100644 MdePkg/Include/Protocol/MmCpuIo.h
 create mode 100644 MdePkg/Include/Protocol/MmEndOfDxe.h
 create mode 100644 MdePkg/Include/Protocol/MmGpiDispatch.h
 create mode 100644 MdePkg/Include/Protocol/MmIoTrapDispatch.h
 create mode 100644 MdePkg/Include/Protocol/MmPciRootBridgeIo.h
 create mode 100644 MdePkg/Include/Protocol/MmPeriodicTimerDispatch.h
 create mode 100644 MdePkg/Include/Protocol/MmPowerButtonDispatch.h
 create mode 100644 MdePkg/Include/Protocol/MmReadyToLock.h
 create mode 100644 MdePkg/Include/Protocol/MmReportStatusCodeHandler.h
 create mode 100644 MdePkg/Include/Protocol/MmStandbyButtonDispatch.h
 create mode 100644 MdePkg/Include/Protocol/MmStatusCode.h
 create mode 100644 MdePkg/Include/Protocol/MmSwDispatch.h
 create mode 100644 MdePkg/Include/Protocol/MmSxDispatch.h
 create mode 100644 MdePkg/Include/Protocol/MmUsbDispatch.h

-- 
2.7.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel