* [PATCH 0/2] Add mapping of new UEFI/PI protocols
@ 2017-09-28 6:37 Ruiyu Ni
2017-09-28 6:37 ` [PATCH 1/2] ShellPkg/dh: " Ruiyu Ni
2017-09-28 6:37 ` [PATCH 2/2] ShellPkg/UefiHandleParsingLib.c: Map SmmPciRootBridgeIo correctly Ruiyu Ni
0 siblings, 2 replies; 5+ messages in thread
From: Ruiyu Ni @ 2017-09-28 6:37 UTC (permalink / raw)
To: edk2-devel
Huajing Li (2):
ShellPkg/dh: Add mapping of new UEFI/PI protocols
ShellPkg/UefiHandleParsingLib.c: Map SmmPciRootBridgeIo correctly
.../UefiHandleParsingLib/UefiHandleParsingLib.c | 58 +++++++++++++++++++++-
.../UefiHandleParsingLib/UefiHandleParsingLib.inf | 40 +++++++++++++++
.../UefiHandleParsingLib/UefiHandleParsingLib.uni | 44 ++++++++++++++++
3 files changed, 141 insertions(+), 1 deletion(-)
--
2.12.2.windows.2
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] ShellPkg/dh: Add mapping of new UEFI/PI protocols
2017-09-28 6:37 [PATCH 0/2] Add mapping of new UEFI/PI protocols Ruiyu Ni
@ 2017-09-28 6:37 ` Ruiyu Ni
2017-09-28 13:42 ` Carsey, Jaben
2017-09-28 6:37 ` [PATCH 2/2] ShellPkg/UefiHandleParsingLib.c: Map SmmPciRootBridgeIo correctly Ruiyu Ni
1 sibling, 1 reply; 5+ messages in thread
From: Ruiyu Ni @ 2017-09-28 6:37 UTC (permalink / raw)
To: edk2-devel; +Cc: Huajing Li, Jaben Carsey
From: Huajing Li <huajing.li@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Huajing Li <huajing.li@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
---
.../UefiHandleParsingLib/UefiHandleParsingLib.c | 56 ++++++++++++++++++++++
.../UefiHandleParsingLib/UefiHandleParsingLib.inf | 40 ++++++++++++++++
.../UefiHandleParsingLib/UefiHandleParsingLib.uni | 44 +++++++++++++++++
3 files changed, 140 insertions(+)
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
index d12466c7b0..06f9d26e5f 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
@@ -2147,6 +2147,37 @@ STATIC CONST GUID_INFO_BLOCK mGuidStringList[] = {
{STRING_TOKEN(STR_ADAPTER_INFO), &gEfiAdapterInformationProtocolGuid, AdapterInformationDumpInformation},
//
+// UEFI2.5
+//
+ {STRING_TOKEN(STR_TLS_SB), &gEfiTlsServiceBindingProtocolGuid, NULL},
+ {STRING_TOKEN(STR_TLS), &gEfiTlsProtocolGuid, NULL},
+ {STRING_TOKEN(STR_TLS_CONFIG), &gEfiTlsConfigurationProtocolGuid, NULL},
+ {STRING_TOKEN(STR_SUPPLICANT_SB), &gEfiSupplicantServiceBindingProtocolGuid, NULL},
+ {STRING_TOKEN(STR_SUPPLICANT), &gEfiSupplicantProtocolGuid, NULL},
+
+//
+// UEFI2.6
+//
+ {STRING_TOKEN(STR_WIFI2), &gEfiWiFi2ProtocolGuid, NULL},
+ {STRING_TOKEN(STR_RAMDISK), &gEfiRamDiskProtocolGuid, NULL},
+ {STRING_TOKEN(STR_HII_ID), &gEfiHiiImageDecoderProtocolGuid, NULL},
+ {STRING_TOKEN(STR_HII_IE), &gEfiHiiImageExProtocolGuid, NULL},
+ {STRING_TOKEN(STR_SD_MPT), &gEfiSdMmcPassThruProtocolGuid, NULL},
+ {STRING_TOKEN(STR_ERASE_BLOCK), &gEfiEraseBlockProtocolGuid, NULL},
+
+//
+// UEFI2.7
+//
+ {STRING_TOKEN(STR_BLUETOOTH_ATTR), &gEfiBluetoothAttributeProtocolGuid, NULL},
+ {STRING_TOKEN(STR_BLUETOOTH_ATTR_SB), &gEfiBluetoothAttributeServiceBindingProtocolGuid, NULL},
+ {STRING_TOKEN(STR_BLUETOOTH_LE_CONFIG), &gEfiBluetoothLeConfigProtocolGuid, NULL},
+ {STRING_TOKEN(STR_UFS_DEV_CONFIG), &gEfiUfsDeviceConfigProtocolGuid, NULL},
+ {STRING_TOKEN(STR_HTTP_BOOT_CALL), &gEfiHttpBootCallbackProtocolGuid, NULL},
+ {STRING_TOKEN(STR_RESET_NOTI), &gEfiResetNotificationProtocolGuid, NULL},
+ {STRING_TOKEN(STR_PARTITION_INFO), &gEfiPartitionInfoProtocolGuid, NULL},
+ {STRING_TOKEN(STR_HII_POPUP), &gEfiHiiPopupProtocolGuid, NULL},
+
+//
// PI Spec ones
//
{STRING_TOKEN(STR_IDE_CONT_INIT), &gEfiIdeControllerInitProtocolGuid, NULL},
@@ -2271,6 +2302,31 @@ STATIC CONST GUID_INFO_BLOCK mGuidStringList[] = {
{STRING_TOKEN(STR_REST), &gEfiRestProtocolGuid, NULL},
//
+// PI 1.5
+//
+ {STRING_TOKEN(STR_MM_EOD), &gEfiMmEndOfDxeProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_ITD), &gEfiMmIoTrapDispatchProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_PBD), &gEfiMmPowerButtonDispatchProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_SBD), &gEfiMmStandbyButtonDispatchProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_GD), &gEfiMmGpiDispatchProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_UD), &gEfiMmUsbDispatchProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_PTD), &gEfiMmPeriodicTimerDispatchProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_SXD), &gEfiMmSxDispatchProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_SWD), &gEfiMmSwDispatchProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_PRBI), &gEfiMmPciRootBridgeIoProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_CPU), &gEfiMmCpuProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_STACODE), &gEfiMmStatusCodeProtocolGuid, NULL},
+ {STRING_TOKEN(STR_DXEMM_RTL), &gEfiDxeMmReadyToLockProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_CONFIG), &gEfiMmConfigurationProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_RTL), &gEfiMmReadyToLockProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_CONTROL), &gEfiMmControlProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_ACCESS), &gEfiMmAccessProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_BASE), &gEfiMmBaseProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_CPUIO), &gEfiMmCpuIoProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_RH), &gEfiMmRscHandlerProtocolGuid, NULL},
+ {STRING_TOKEN(STR_MM_COM), &gEfiMmCommunicationProtocolGuid, NULL},
+
+//
// UEFI Shell Spec 2.0
//
{STRING_TOKEN(STR_SHELL_PARAMETERS), &gEfiShellParametersProtocolGuid, NULL},
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
index 4c1c3d3846..1ab208e328 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
@@ -292,6 +292,46 @@ [Protocols]
gEfiHttpProtocolGuid ## UNDEFINED
gEfiHttpUtilitiesProtocolGuid ## UNDEFINED
gEfiRestProtocolGuid ## UNDEFINED
+ gEfiMmEndOfDxeProtocolGuid ## UNDEFINED
+ gEfiMmIoTrapDispatchProtocolGuid ## UNDEFINED
+ gEfiMmPowerButtonDispatchProtocolGuid ## UNDEFINED
+ gEfiMmStandbyButtonDispatchProtocolGuid ## UNDEFINED
+ gEfiMmGpiDispatchProtocolGuid ## UNDEFINED
+ gEfiMmUsbDispatchProtocolGuid ## UNDEFINED
+ gEfiMmPeriodicTimerDispatchProtocolGuid ## UNDEFINED
+ gEfiMmSxDispatchProtocolGuid ## UNDEFINED
+ gEfiMmSwDispatchProtocolGuid ## UNDEFINED
+ gEfiMmPciRootBridgeIoProtocolGuid ## UNDEFINED
+ gEfiMmCpuProtocolGuid ## UNDEFINED
+ gEfiMmStatusCodeProtocolGuid ## UNDEFINED
+ gEfiDxeMmReadyToLockProtocolGuid ## UNDEFINED
+ gEfiMmConfigurationProtocolGuid ## UNDEFINED
+ gEfiMmReadyToLockProtocolGuid ## UNDEFINED
+ gEfiMmControlProtocolGuid ## UNDEFINED
+ gEfiMmAccessProtocolGuid ## UNDEFINED
+ gEfiMmBaseProtocolGuid ## UNDEFINED
+ gEfiMmCpuIoProtocolGuid ## UNDEFINED
+ gEfiMmRscHandlerProtocolGuid ## UNDEFINED
+ gEfiMmCommunicationProtocolGuid ## UNDEFINED
+ gEfiTlsServiceBindingProtocolGuid ## UNDEFINED
+ gEfiTlsProtocolGuid ## UNDEFINED
+ gEfiTlsConfigurationProtocolGuid ## UNDEFINED
+ gEfiSupplicantServiceBindingProtocolGuid ## UNDEFINED
+ gEfiSupplicantProtocolGuid ## UNDEFINED
+ gEfiWiFi2ProtocolGuid ## UNDEFINED
+ gEfiRamDiskProtocolGuid ## UNDEFINED
+ gEfiHiiImageDecoderProtocolGuid ## UNDEFINED
+ gEfiHiiImageExProtocolGuid ## UNDEFINED
+ gEfiSdMmcPassThruProtocolGuid ## UNDEFINED
+ gEfiEraseBlockProtocolGuid ## UNDEFINED
+ gEfiBluetoothAttributeProtocolGuid ## UNDEFINED
+ gEfiBluetoothAttributeServiceBindingProtocolGuid ## UNDEFINED
+ gEfiBluetoothLeConfigProtocolGuid ## UNDEFINED
+ gEfiUfsDeviceConfigProtocolGuid ## UNDEFINED
+ gEfiHttpBootCallbackProtocolGuid ## UNDEFINED
+ gEfiResetNotificationProtocolGuid ## UNDEFINED
+ gEfiPartitionInfoProtocolGuid ## UNDEFINED
+ gEfiHiiPopupProtocolGuid ## UNDEFINED
[Guids]
gEfiFileInfoGuid ## UNDEFINED
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni
index f49ca94623..d5e0c79f3f 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni
@@ -333,6 +333,50 @@
#string STR_NET_HTTP_U #language en-US "HttpUtilities"
#string STR_REST #language en-US "Rest"
+#string STR_MM_EOD #language en-US "MmEndOfDxe"
+#string STR_MM_ITD #language en-US "MmIoTrapDispatch"
+#string STR_MM_PBD #language en-US "MmPowerButtonDispatch"
+#string STR_MM_SBD #language en-US "MmStandbyButtonDispatch"
+#string STR_MM_GD #language en-US "MmGpiDispatch"
+#string STR_MM_UD #language en-US "MmUsbDispatch"
+#string STR_MM_PTD #language en-US "MmPeriodicTimerDispatch"
+#string STR_MM_SXD #language en-US "MmSxDispatch"
+#string STR_MM_SWD #language en-US "MmSwDispatch"
+#string STR_MM_PRBI #language en-US "MmPciRootBridgeIo"
+#string STR_MM_CPU #language en-US "MmCpu"
+#string STR_MM_STACODE #language en-US "MmStatusCode"
+#string STR_DXEMM_RTL #language en-US "DxeMmReadyToLock"
+#string STR_MM_CONFIG #language en-US "MmConfiguration"
+#string STR_MM_RTL #language en-US "MmReadyToLock"
+#string STR_MM_CONTROL #language en-US "MmControl"
+#string STR_MM_ACCESS #language en-US "MmAccess"
+#string STR_MM_BASE #language en-US "MmBase"
+#string STR_MM_CPUIO #language en-US "MmCpuIo"
+#string STR_MM_RH #language en-US "MmRscHandler"
+#string STR_MM_COM #language en-US "MmCommunication"
+
+#string STR_TLS_SB #language en-US "TlsServiceBinding"
+#string STR_TLS #language en-US "Tls"
+#string STR_TLS_CONFIG #language en-US "TlsConfiguration"
+#string STR_SUPPLICANT_SB #language en-US "SupplicantServiceBinding"
+#string STR_SUPPLICANT #language en-US "Supplicant"
+
+#string STR_WIFI2 #language en-US "WiFi2"
+#string STR_RAMDISK #language en-US "RamDisk"
+#string STR_HII_ID #language en-US "HiiImageDecoder"
+#string STR_HII_IE #language en-US "HiiImageEx"
+#string STR_SD_MPT #language en-US "SdMmcPassThru"
+#string STR_ERASE_BLOCK #language en-US "EraseBlock"
+
+#string STR_BLUETOOTH_ATTR #language en-US "BluetoothAttribute"
+#string STR_BLUETOOTH_ATTR_SB #language en-US "BluetoothAttributeServiceBinding"
+#string STR_BLUETOOTH_LE_CONFIG #language en-US "BluetoothLeConfig"
+#string STR_UFS_DEV_CONFIG #language en-US "UfsDeviceConfig"
+#string STR_HTTP_BOOT_CALL #language en-US "HttpBootCallback"
+#string STR_RESET_NOTI #language en-US "ResetNotification"
+#string STR_PARTITION_INFO #language en-US "PartitionInfo"
+#string STR_HII_POPUP #language en-US "HiiPopup"
+
#string STR_IDE_CONT_INIT #language en-US "IdeControllerInit"
#string STR_DISK_INFO #language en-US "DiskInfo"
#string STR_BLOCKIO_INFO #language en-US " %s%sMId:%%H%x%%N bsize %%H%x%%N, lblock %lx (%,ld), %s %s %s"
--
2.12.2.windows.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] ShellPkg/UefiHandleParsingLib.c: Map SmmPciRootBridgeIo correctly
2017-09-28 6:37 [PATCH 0/2] Add mapping of new UEFI/PI protocols Ruiyu Ni
2017-09-28 6:37 ` [PATCH 1/2] ShellPkg/dh: " Ruiyu Ni
@ 2017-09-28 6:37 ` Ruiyu Ni
2017-09-28 13:42 ` Carsey, Jaben
1 sibling, 1 reply; 5+ messages in thread
From: Ruiyu Ni @ 2017-09-28 6:37 UTC (permalink / raw)
To: edk2-devel; +Cc: Huajing Li, Jaben Carsey
From: Huajing Li <huajing.li@intel.com>
The current implementation has a typo that maps SmmPciRootBridgeIo
to "PciRootBridgeIo".
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Huajing Li <huajing.li@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
---
ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
index 06f9d26e5f..489decfaf8 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
@@ -2229,7 +2229,7 @@ STATIC CONST GUID_INFO_BLOCK mGuidStringList[] = {
{STRING_TOKEN(STR_S_COMM), &gEfiSmmCommunicationProtocolGuid, NULL},
{STRING_TOKEN(STR_S_STAT), &gEfiSmmStatusCodeProtocolGuid, NULL},
{STRING_TOKEN(STR_S_CPU), &gEfiSmmCpuProtocolGuid, NULL},
- {STRING_TOKEN(STR_S_PCIRBIO), &gEfiPciRootBridgeIoProtocolGuid, NULL},
+ {STRING_TOKEN(STR_S_PCIRBIO), &gEfiSmmPciRootBridgeIoProtocolGuid, NULL},
{STRING_TOKEN(STR_S_SWD), &gEfiSmmSwDispatch2ProtocolGuid, NULL},
{STRING_TOKEN(STR_S_SXD), &gEfiSmmSxDispatch2ProtocolGuid, NULL},
{STRING_TOKEN(STR_S_PTD2), &gEfiSmmPeriodicTimerDispatch2ProtocolGuid, NULL},
--
2.12.2.windows.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] ShellPkg/UefiHandleParsingLib.c: Map SmmPciRootBridgeIo correctly
2017-09-28 6:37 ` [PATCH 2/2] ShellPkg/UefiHandleParsingLib.c: Map SmmPciRootBridgeIo correctly Ruiyu Ni
@ 2017-09-28 13:42 ` Carsey, Jaben
0 siblings, 0 replies; 5+ messages in thread
From: Carsey, Jaben @ 2017-09-28 13:42 UTC (permalink / raw)
To: Ni, Ruiyu, edk2-devel@lists.01.org; +Cc: Li, Huajing
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
> -----Original Message-----
> From: Ni, Ruiyu
> Sent: Wednesday, September 27, 2017 11:37 PM
> To: edk2-devel@lists.01.org
> Cc: Li, Huajing <huajing.li@intel.com>; Carsey, Jaben
> <jaben.carsey@intel.com>
> Subject: [PATCH 2/2] ShellPkg/UefiHandleParsingLib.c: Map
> SmmPciRootBridgeIo correctly
> Importance: High
>
> From: Huajing Li <huajing.li@intel.com>
>
> The current implementation has a typo that maps SmmPciRootBridgeIo
> to "PciRootBridgeIo".
>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Huajing Li <huajing.li@intel.com>
> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
> Cc: Jaben Carsey <jaben.carsey@intel.com>
> ---
> ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
> b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
> index 06f9d26e5f..489decfaf8 100644
> --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
> +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
> @@ -2229,7 +2229,7 @@ STATIC CONST GUID_INFO_BLOCK
> mGuidStringList[] = {
> {STRING_TOKEN(STR_S_COMM),
> &gEfiSmmCommunicationProtocolGuid, NULL},
> {STRING_TOKEN(STR_S_STAT), &gEfiSmmStatusCodeProtocolGuid,
> NULL},
> {STRING_TOKEN(STR_S_CPU), &gEfiSmmCpuProtocolGuid,
> NULL},
> - {STRING_TOKEN(STR_S_PCIRBIO),
> &gEfiPciRootBridgeIoProtocolGuid, NULL},
> + {STRING_TOKEN(STR_S_PCIRBIO),
> &gEfiSmmPciRootBridgeIoProtocolGuid, NULL},
> {STRING_TOKEN(STR_S_SWD),
> &gEfiSmmSwDispatch2ProtocolGuid, NULL},
> {STRING_TOKEN(STR_S_SXD), &gEfiSmmSxDispatch2ProtocolGuid,
> NULL},
> {STRING_TOKEN(STR_S_PTD2),
> &gEfiSmmPeriodicTimerDispatch2ProtocolGuid, NULL},
> --
> 2.12.2.windows.2
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] ShellPkg/dh: Add mapping of new UEFI/PI protocols
2017-09-28 6:37 ` [PATCH 1/2] ShellPkg/dh: " Ruiyu Ni
@ 2017-09-28 13:42 ` Carsey, Jaben
0 siblings, 0 replies; 5+ messages in thread
From: Carsey, Jaben @ 2017-09-28 13:42 UTC (permalink / raw)
To: Ni, Ruiyu, edk2-devel@lists.01.org; +Cc: Li, Huajing
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
> -----Original Message-----
> From: Ni, Ruiyu
> Sent: Wednesday, September 27, 2017 11:37 PM
> To: edk2-devel@lists.01.org
> Cc: Li, Huajing <huajing.li@intel.com>; Carsey, Jaben
> <jaben.carsey@intel.com>
> Subject: [PATCH 1/2] ShellPkg/dh: Add mapping of new UEFI/PI protocols
> Importance: High
>
> From: Huajing Li <huajing.li@intel.com>
>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Huajing Li <huajing.li@intel.com>
> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
> Cc: Jaben Carsey <jaben.carsey@intel.com>
> ---
> .../UefiHandleParsingLib/UefiHandleParsingLib.c | 56
> ++++++++++++++++++++++
> .../UefiHandleParsingLib/UefiHandleParsingLib.inf | 40 ++++++++++++++++
> .../UefiHandleParsingLib/UefiHandleParsingLib.uni | 44
> +++++++++++++++++
> 3 files changed, 140 insertions(+)
>
> diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
> b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
> index d12466c7b0..06f9d26e5f 100644
> --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
> +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
> @@ -2147,6 +2147,37 @@ STATIC CONST GUID_INFO_BLOCK
> mGuidStringList[] = {
> {STRING_TOKEN(STR_ADAPTER_INFO),
> &gEfiAdapterInformationProtocolGuid,
> AdapterInformationDumpInformation},
>
> //
> +// UEFI2.5
> +//
> + {STRING_TOKEN(STR_TLS_SB),
> &gEfiTlsServiceBindingProtocolGuid, NULL},
> + {STRING_TOKEN(STR_TLS), &gEfiTlsProtocolGuid,
> NULL},
> + {STRING_TOKEN(STR_TLS_CONFIG),
> &gEfiTlsConfigurationProtocolGuid, NULL},
> + {STRING_TOKEN(STR_SUPPLICANT_SB),
> &gEfiSupplicantServiceBindingProtocolGuid, NULL},
> + {STRING_TOKEN(STR_SUPPLICANT), &gEfiSupplicantProtocolGuid,
> NULL},
> +
> +//
> +// UEFI2.6
> +//
> + {STRING_TOKEN(STR_WIFI2), &gEfiWiFi2ProtocolGuid,
> NULL},
> + {STRING_TOKEN(STR_RAMDISK), &gEfiRamDiskProtocolGuid,
> NULL},
> + {STRING_TOKEN(STR_HII_ID), &gEfiHiiImageDecoderProtocolGuid,
> NULL},
> + {STRING_TOKEN(STR_HII_IE), &gEfiHiiImageExProtocolGuid,
> NULL},
> + {STRING_TOKEN(STR_SD_MPT),
> &gEfiSdMmcPassThruProtocolGuid, NULL},
> + {STRING_TOKEN(STR_ERASE_BLOCK), &gEfiEraseBlockProtocolGuid,
> NULL},
> +
> +//
> +// UEFI2.7
> +//
> + {STRING_TOKEN(STR_BLUETOOTH_ATTR),
> &gEfiBluetoothAttributeProtocolGuid, NULL},
> + {STRING_TOKEN(STR_BLUETOOTH_ATTR_SB),
> &gEfiBluetoothAttributeServiceBindingProtocolGuid, NULL},
> + {STRING_TOKEN(STR_BLUETOOTH_LE_CONFIG),
> &gEfiBluetoothLeConfigProtocolGuid, NULL},
> + {STRING_TOKEN(STR_UFS_DEV_CONFIG),
> &gEfiUfsDeviceConfigProtocolGuid, NULL},
> + {STRING_TOKEN(STR_HTTP_BOOT_CALL),
> &gEfiHttpBootCallbackProtocolGuid, NULL},
> + {STRING_TOKEN(STR_RESET_NOTI),
> &gEfiResetNotificationProtocolGuid, NULL},
> + {STRING_TOKEN(STR_PARTITION_INFO),
> &gEfiPartitionInfoProtocolGuid, NULL},
> + {STRING_TOKEN(STR_HII_POPUP), &gEfiHiiPopupProtocolGuid,
> NULL},
> +
> +//
> // PI Spec ones
> //
> {STRING_TOKEN(STR_IDE_CONT_INIT),
> &gEfiIdeControllerInitProtocolGuid, NULL},
> @@ -2271,6 +2302,31 @@ STATIC CONST GUID_INFO_BLOCK
> mGuidStringList[] = {
> {STRING_TOKEN(STR_REST), &gEfiRestProtocolGuid,
> NULL},
>
> //
> +// PI 1.5
> +//
> + {STRING_TOKEN(STR_MM_EOD), &gEfiMmEndOfDxeProtocolGuid,
> NULL},
> + {STRING_TOKEN(STR_MM_ITD),
> &gEfiMmIoTrapDispatchProtocolGuid, NULL},
> + {STRING_TOKEN(STR_MM_PBD),
> &gEfiMmPowerButtonDispatchProtocolGuid, NULL},
> + {STRING_TOKEN(STR_MM_SBD),
> &gEfiMmStandbyButtonDispatchProtocolGuid, NULL},
> + {STRING_TOKEN(STR_MM_GD),
> &gEfiMmGpiDispatchProtocolGuid, NULL},
> + {STRING_TOKEN(STR_MM_UD),
> &gEfiMmUsbDispatchProtocolGuid, NULL},
> + {STRING_TOKEN(STR_MM_PTD),
> &gEfiMmPeriodicTimerDispatchProtocolGuid, NULL},
> + {STRING_TOKEN(STR_MM_SXD),
> &gEfiMmSxDispatchProtocolGuid, NULL},
> + {STRING_TOKEN(STR_MM_SWD),
> &gEfiMmSwDispatchProtocolGuid, NULL},
> + {STRING_TOKEN(STR_MM_PRBI),
> &gEfiMmPciRootBridgeIoProtocolGuid, NULL},
> + {STRING_TOKEN(STR_MM_CPU), &gEfiMmCpuProtocolGuid,
> NULL},
> + {STRING_TOKEN(STR_MM_STACODE),
> &gEfiMmStatusCodeProtocolGuid, NULL},
> + {STRING_TOKEN(STR_DXEMM_RTL),
> &gEfiDxeMmReadyToLockProtocolGuid, NULL},
> + {STRING_TOKEN(STR_MM_CONFIG),
> &gEfiMmConfigurationProtocolGuid, NULL},
> + {STRING_TOKEN(STR_MM_RTL),
> &gEfiMmReadyToLockProtocolGuid, NULL},
> + {STRING_TOKEN(STR_MM_CONTROL),
> &gEfiMmControlProtocolGuid, NULL},
> + {STRING_TOKEN(STR_MM_ACCESS), &gEfiMmAccessProtocolGuid,
> NULL},
> + {STRING_TOKEN(STR_MM_BASE), &gEfiMmBaseProtocolGuid,
> NULL},
> + {STRING_TOKEN(STR_MM_CPUIO), &gEfiMmCpuIoProtocolGuid,
> NULL},
> + {STRING_TOKEN(STR_MM_RH), &gEfiMmRscHandlerProtocolGuid,
> NULL},
> + {STRING_TOKEN(STR_MM_COM),
> &gEfiMmCommunicationProtocolGuid, NULL},
> +
> +//
> // UEFI Shell Spec 2.0
> //
> {STRING_TOKEN(STR_SHELL_PARAMETERS),
> &gEfiShellParametersProtocolGuid, NULL},
> diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
> b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
> index 4c1c3d3846..1ab208e328 100644
> --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
> +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
> @@ -292,6 +292,46 @@ [Protocols]
> gEfiHttpProtocolGuid ## UNDEFINED
> gEfiHttpUtilitiesProtocolGuid ## UNDEFINED
> gEfiRestProtocolGuid ## UNDEFINED
> + gEfiMmEndOfDxeProtocolGuid ## UNDEFINED
> + gEfiMmIoTrapDispatchProtocolGuid ## UNDEFINED
> + gEfiMmPowerButtonDispatchProtocolGuid ## UNDEFINED
> + gEfiMmStandbyButtonDispatchProtocolGuid ## UNDEFINED
> + gEfiMmGpiDispatchProtocolGuid ## UNDEFINED
> + gEfiMmUsbDispatchProtocolGuid ## UNDEFINED
> + gEfiMmPeriodicTimerDispatchProtocolGuid ## UNDEFINED
> + gEfiMmSxDispatchProtocolGuid ## UNDEFINED
> + gEfiMmSwDispatchProtocolGuid ## UNDEFINED
> + gEfiMmPciRootBridgeIoProtocolGuid ## UNDEFINED
> + gEfiMmCpuProtocolGuid ## UNDEFINED
> + gEfiMmStatusCodeProtocolGuid ## UNDEFINED
> + gEfiDxeMmReadyToLockProtocolGuid ## UNDEFINED
> + gEfiMmConfigurationProtocolGuid ## UNDEFINED
> + gEfiMmReadyToLockProtocolGuid ## UNDEFINED
> + gEfiMmControlProtocolGuid ## UNDEFINED
> + gEfiMmAccessProtocolGuid ## UNDEFINED
> + gEfiMmBaseProtocolGuid ## UNDEFINED
> + gEfiMmCpuIoProtocolGuid ## UNDEFINED
> + gEfiMmRscHandlerProtocolGuid ## UNDEFINED
> + gEfiMmCommunicationProtocolGuid ## UNDEFINED
> + gEfiTlsServiceBindingProtocolGuid ## UNDEFINED
> + gEfiTlsProtocolGuid ## UNDEFINED
> + gEfiTlsConfigurationProtocolGuid ## UNDEFINED
> + gEfiSupplicantServiceBindingProtocolGuid ## UNDEFINED
> + gEfiSupplicantProtocolGuid ## UNDEFINED
> + gEfiWiFi2ProtocolGuid ## UNDEFINED
> + gEfiRamDiskProtocolGuid ## UNDEFINED
> + gEfiHiiImageDecoderProtocolGuid ## UNDEFINED
> + gEfiHiiImageExProtocolGuid ## UNDEFINED
> + gEfiSdMmcPassThruProtocolGuid ## UNDEFINED
> + gEfiEraseBlockProtocolGuid ## UNDEFINED
> + gEfiBluetoothAttributeProtocolGuid ## UNDEFINED
> + gEfiBluetoothAttributeServiceBindingProtocolGuid ## UNDEFINED
> + gEfiBluetoothLeConfigProtocolGuid ## UNDEFINED
> + gEfiUfsDeviceConfigProtocolGuid ## UNDEFINED
> + gEfiHttpBootCallbackProtocolGuid ## UNDEFINED
> + gEfiResetNotificationProtocolGuid ## UNDEFINED
> + gEfiPartitionInfoProtocolGuid ## UNDEFINED
> + gEfiHiiPopupProtocolGuid ## UNDEFINED
>
> [Guids]
> gEfiFileInfoGuid ## UNDEFINED
> diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni
> b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni
> index f49ca94623..d5e0c79f3f 100644
> --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni
> +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni
> @@ -333,6 +333,50 @@
> #string STR_NET_HTTP_U #language en-US "HttpUtilities"
> #string STR_REST #language en-US "Rest"
>
> +#string STR_MM_EOD #language en-US "MmEndOfDxe"
> +#string STR_MM_ITD #language en-US "MmIoTrapDispatch"
> +#string STR_MM_PBD #language en-US "MmPowerButtonDispatch"
> +#string STR_MM_SBD #language en-US
> "MmStandbyButtonDispatch"
> +#string STR_MM_GD #language en-US "MmGpiDispatch"
> +#string STR_MM_UD #language en-US "MmUsbDispatch"
> +#string STR_MM_PTD #language en-US "MmPeriodicTimerDispatch"
> +#string STR_MM_SXD #language en-US "MmSxDispatch"
> +#string STR_MM_SWD #language en-US "MmSwDispatch"
> +#string STR_MM_PRBI #language en-US "MmPciRootBridgeIo"
> +#string STR_MM_CPU #language en-US "MmCpu"
> +#string STR_MM_STACODE #language en-US "MmStatusCode"
> +#string STR_DXEMM_RTL #language en-US "DxeMmReadyToLock"
> +#string STR_MM_CONFIG #language en-US "MmConfiguration"
> +#string STR_MM_RTL #language en-US "MmReadyToLock"
> +#string STR_MM_CONTROL #language en-US "MmControl"
> +#string STR_MM_ACCESS #language en-US "MmAccess"
> +#string STR_MM_BASE #language en-US "MmBase"
> +#string STR_MM_CPUIO #language en-US "MmCpuIo"
> +#string STR_MM_RH #language en-US "MmRscHandler"
> +#string STR_MM_COM #language en-US "MmCommunication"
> +
> +#string STR_TLS_SB #language en-US "TlsServiceBinding"
> +#string STR_TLS #language en-US "Tls"
> +#string STR_TLS_CONFIG #language en-US "TlsConfiguration"
> +#string STR_SUPPLICANT_SB #language en-US
> "SupplicantServiceBinding"
> +#string STR_SUPPLICANT #language en-US "Supplicant"
> +
> +#string STR_WIFI2 #language en-US "WiFi2"
> +#string STR_RAMDISK #language en-US "RamDisk"
> +#string STR_HII_ID #language en-US "HiiImageDecoder"
> +#string STR_HII_IE #language en-US "HiiImageEx"
> +#string STR_SD_MPT #language en-US "SdMmcPassThru"
> +#string STR_ERASE_BLOCK #language en-US "EraseBlock"
> +
> +#string STR_BLUETOOTH_ATTR #language en-US "BluetoothAttribute"
> +#string STR_BLUETOOTH_ATTR_SB #language en-US
> "BluetoothAttributeServiceBinding"
> +#string STR_BLUETOOTH_LE_CONFIG #language en-US
> "BluetoothLeConfig"
> +#string STR_UFS_DEV_CONFIG #language en-US "UfsDeviceConfig"
> +#string STR_HTTP_BOOT_CALL #language en-US "HttpBootCallback"
> +#string STR_RESET_NOTI #language en-US "ResetNotification"
> +#string STR_PARTITION_INFO #language en-US "PartitionInfo"
> +#string STR_HII_POPUP #language en-US "HiiPopup"
> +
> #string STR_IDE_CONT_INIT #language en-US "IdeControllerInit"
> #string STR_DISK_INFO #language en-US "DiskInfo"
> #string STR_BLOCKIO_INFO #language en-US " %s%sMId:%%H%x%%N
> bsize %%H%x%%N, lblock %lx (%,ld), %s %s %s"
> --
> 2.12.2.windows.2
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-09-28 13:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-28 6:37 [PATCH 0/2] Add mapping of new UEFI/PI protocols Ruiyu Ni
2017-09-28 6:37 ` [PATCH 1/2] ShellPkg/dh: " Ruiyu Ni
2017-09-28 13:42 ` Carsey, Jaben
2017-09-28 6:37 ` [PATCH 2/2] ShellPkg/UefiHandleParsingLib.c: Map SmmPciRootBridgeIo correctly Ruiyu Ni
2017-09-28 13:42 ` Carsey, Jaben
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox