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

Eric Dong posted 2 patches 7 years, 3 months ago
Failed in applying to current master (apply log)
MdePkg/Include/Pi/PiMmCis.h                        | 350 +++++++++++++++++++++
MdePkg/Include/Pi/PiMultiPhase.h                   |  32 +-
MdePkg/Include/Pi/PiSmmCis.h                       | 183 ++---------
MdePkg/Include/PiMm.h                              |  25 ++
MdePkg/Include/Protocol/DxeMmReadyToLock.h         |  25 ++
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               |  30 ++
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            |  32 ++
.../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                                  |  67 ++++
47 files changed, 2875 insertions(+), 1360 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 v2 0/2] Add Management Mode infrastructure support.
Posted by Eric Dong 7 years, 3 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.

V2: 
1. clean up the old Smm/SMI/Smram keywords in the new files
2. Remove the whitespace at the end.
3. Update the copyright time.

Eric Dong (2):
  MdePkg: Add new definitions for Management Mode.
  MdePkg: Reference new definitions for Management Mode.

 MdePkg/Include/Pi/PiMmCis.h                        | 350 +++++++++++++++++++++
 MdePkg/Include/Pi/PiMultiPhase.h                   |  32 +-
 MdePkg/Include/Pi/PiSmmCis.h                       | 183 ++---------
 MdePkg/Include/PiMm.h                              |  25 ++
 MdePkg/Include/Protocol/DxeMmReadyToLock.h         |  25 ++
 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               |  30 ++
 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            |  32 ++
 .../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                                  |  67 ++++
 47 files changed, 2875 insertions(+), 1360 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
Re: [edk2] [Patch v2 0/2] Add Management Mode infrastructure support.
Posted by Gao, Liming 7 years, 3 months ago
Reviewed-by: Liming Gao <liming.gao@intel.com>

>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Eric
>Dong
>Sent: Monday, August 28, 2017 2:41 PM
>To: edk2-devel@lists.01.org
>Subject: [edk2] [Patch v2 0/2] Add Management Mode infrastructure support.
>
>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.
>
>V2:
>1. clean up the old Smm/SMI/Smram keywords in the new files
>2. Remove the whitespace at the end.
>3. Update the copyright time.
>
>Eric Dong (2):
>  MdePkg: Add new definitions for Management Mode.
>  MdePkg: Reference new definitions for Management Mode.
>
> MdePkg/Include/Pi/PiMmCis.h                        | 350 +++++++++++++++++++++
> MdePkg/Include/Pi/PiMultiPhase.h                   |  32 +-
> MdePkg/Include/Pi/PiSmmCis.h                       | 183 ++---------
> MdePkg/Include/PiMm.h                              |  25 ++
> MdePkg/Include/Protocol/DxeMmReadyToLock.h         |  25 ++
> 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               |  30 ++
> 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            |  32 ++
> .../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                                  |  67 ++++
> 47 files changed, 2875 insertions(+), 1360 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
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel