diff options
author | gikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-01-16 07:33:08 +0000 |
---|---|---|
committer | gikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-01-16 07:33:08 +0000 |
commit | 8d4cd915278975a0c46957b523660bdf67e0d418 (patch) | |
tree | 0dec2e57eae09109c1f5b5cb29396a119f16be0b /MdeModulePkg | |
parent | dab714aa1171a7916df00486f077dc8e923d8ab1 (diff) | |
download | edk2-platforms-8d4cd915278975a0c46957b523660bdf67e0d418.tar.xz |
1.Moved HotPlugDevice.h & SimpleTextInNotify.h from /Guid to /Protocol
2.Modified the reference of two Guids in DEC file, Inf files and h files;
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7294 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h | 5 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf | 8 | ||||
-rw-r--r-- | MdeModulePkg/Include/Protocol/HotPlugDevice.h (renamed from MdeModulePkg/Include/Guid/HotPlugDevice.h) | 0 | ||||
-rw-r--r-- | MdeModulePkg/Include/Protocol/SimpleTextInExNotify.h (renamed from MdeModulePkg/Include/Guid/SimpleTextInExNotify.h) | 0 | ||||
-rw-r--r-- | MdeModulePkg/MdeModulePkg.dec | 12 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h | 2 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf | 16 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h | 2 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf | 18 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h | 12 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf | 4 |
11 files changed, 39 insertions, 40 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h b/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h index 84950beab9..7ccd429aa2 100644 --- a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h +++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h @@ -22,8 +22,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <Protocol/HiiDatabase.h>
#include <Protocol/UsbIo.h>
#include <Protocol/DevicePath.h>
+#include <Protocol/SimpleTextInExNotify.h>
+#include <Protocol/HotPlugDevice.h>
+
#include <Guid/HiiKeyBoardLayout.h>
-#include <Guid/HotPlugDevice.h>
#include <Library/DebugLib.h>
#include <Library/ReportStatusCodeLib.h>
@@ -157,7 +159,6 @@ typedef struct { extern EFI_DRIVER_BINDING_PROTOCOL gUsbKeyboardDriverBinding;
extern EFI_COMPONENT_NAME_PROTOCOL gUsbKeyboardComponentName;
extern EFI_COMPONENT_NAME2_PROTOCOL gUsbKeyboardComponentName2;
-extern EFI_GUID gSimpleTextInExNotifyGuid;
#define USB_KB_DEV_FROM_THIS(a) \
CR(a, USB_KB_DEV, SimpleInput, USB_KB_DEV_SIGNATURE)
diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf b/MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf index 5e84288286..4c0126f307 100644 --- a/MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf +++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf @@ -59,17 +59,15 @@ UefiUsbLib
BaseLib
-[Guids]
- gEfiHotPlugDeviceGuid # ALWAYS_CONSUMED
- gSimpleTextInExNotifyGuid # ALWAYS_CONSUMED
-
[Protocols]
gEfiUsbIoProtocolGuid # PROTOCOL TO_START
gEfiDevicePathProtocolGuid # PROTOCOL TO_START
gEfiSimpleTextInProtocolGuid # PROTOCOL BY_START
gEfiSimpleTextInputExProtocolGuid # PROTOCOL BY_START
gEfiHiiDatabaseProtocolGuid # PROTOCOL TO_START
-
+ gSimpleTextInExNotifyGuid # PROTOCOL ALWAYS_CONSUMED
+ gEfiHotPlugDeviceGuid # PROTOCOL ALWAYS_CONSUMED
+
[FeaturePcd.common]
gEfiMdeModulePkgTokenSpaceGuid.PcdDisableDefaultKeyboardLayoutInUsbKbDriver
diff --git a/MdeModulePkg/Include/Guid/HotPlugDevice.h b/MdeModulePkg/Include/Protocol/HotPlugDevice.h index ae6ef46c93..ae6ef46c93 100644 --- a/MdeModulePkg/Include/Guid/HotPlugDevice.h +++ b/MdeModulePkg/Include/Protocol/HotPlugDevice.h diff --git a/MdeModulePkg/Include/Guid/SimpleTextInExNotify.h b/MdeModulePkg/Include/Protocol/SimpleTextInExNotify.h index 7e4ae41355..7e4ae41355 100644 --- a/MdeModulePkg/Include/Guid/SimpleTextInExNotify.h +++ b/MdeModulePkg/Include/Protocol/SimpleTextInExNotify.h diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index ff183f17a7..6675ffb7fb 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -120,9 +120,6 @@ ## Guid specify the device is the console in device.
gEfiConsoleInDeviceGuid = { 0xD3B36F2B, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}
-
- ## Guid specify the device is the hot plug device.
- gEfiHotPlugDeviceGuid = { 0x220AC432, 0x1D43, 0x49E5, { 0xA7, 0x4F, 0x4C, 0x9D, 0xA6, 0x7A, 0xD2, 0x3B }}
## Guid specify the primary console out device.
gEfiPrimaryConsoleOutDeviceGuid = { 0x62BDF38A, 0xE3D5, 0x492C, { 0x95, 0x0C, 0x23, 0xA7, 0xF6, 0x6E, 0x67, 0x2E }}
@@ -163,9 +160,6 @@ ## Guid specify the variable list entries put in the EFI system table.
gEfiVariableInfoGuid = { 0xddcf3616, 0x3275, 0x4164, { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }}
- ## Guid specify the Simple TextIn Notify handle.
- gSimpleTextInExNotifyGuid = { 0x856f2def, 0x4e93, 0x4d6b, { 0x94, 0xce, 0x1c, 0xfe, 0x47, 0x01, 0x3e, 0xa5 }}
-
## Platform Override Variable guid
gEfiOverrideVariableGuid = { 0x8e3d4ad5, 0xf762, 0x438a, { 0xa1, 0xc1, 0x5b, 0x9f, 0xe6, 0x8c, 0x6b, 0x15 }}
@@ -219,6 +213,12 @@ ## Tcg addtional services to measure PeImage and ActionString.
gEfiTcgPlatformProtocolGuid = { 0x8c4c9a41, 0xbf56, 0x4627, { 0x9e, 0xa, 0xc8, 0x38, 0x6d, 0x66, 0x11, 0x5c }}
+
+ ## Protocol Guid specify the Simple TextIn Notify handle.
+ gSimpleTextInExNotifyGuid = { 0x856f2def, 0x4e93, 0x4d6b, { 0x94, 0xce, 0x1c, 0xfe, 0x47, 0x01, 0x3e, 0xa5 }}
+
+ ## Protocol Guid specify the device is the hot plug device.
+ gEfiHotPlugDeviceGuid = { 0x220AC432, 0x1D43, 0x49E5, { 0xA7, 0x4F, 0x4C, 0x9D, 0xA6, 0x7A, 0xD2, 0x3B }}
[Ppis.common]
## Pei memory test PPI used to Perform memory test in PEI phase.
diff --git a/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h b/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h index 7f8cad2304..f7883dce6c 100644 --- a/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h +++ b/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.h @@ -20,12 +20,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <Protocol/SimpleTextOut.h>
#include <Protocol/DevicePath.h>
#include <Protocol/SimpleTextIn.h>
+#include <Protocol/HotPlugDevice.h>
#include <Guid/GlobalVariable.h>
#include <Guid/ConsoleInDevice.h>
#include <Guid/StandardErrorDevice.h>
#include <Guid/ConsoleOutDevice.h>
-#include <Guid/HotPlugDevice.h>
#include <Library/DebugLib.h>
#include <Library/UefiDriverEntryPoint.h>
diff --git a/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf b/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf index 471f561abb..be3a5f9ff1 100644 --- a/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf +++ b/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf @@ -54,16 +54,14 @@ DebugLib
[Guids]
- gEfiGlobalVariableGuid # SOMETIMES_CONSUMED L"ErrOut"
-
-[Protocols]
- gEfiDevicePathProtocolGuid # PROTOCOL TO_START
- gEfiSimpleTextInProtocolGuid # PROTOCOL TO_START
- gEfiSimpleTextOutProtocolGuid # PROTOCOL TO_START
-
-[Guids]
- gEfiHotPlugDeviceGuid
+ gEfiGlobalVariableGuid ## SOMETIMES_CONSUMES ## Variable:L"ErrOut"
gEfiStandardErrorDeviceGuid
gEfiConsoleOutDeviceGuid
gEfiConsoleInDeviceGuid
+
+[Protocols]
+ gEfiDevicePathProtocolGuid ## TO_START
+ gEfiSimpleTextInProtocolGuid ## TO_START
+ gEfiSimpleTextOutProtocolGuid ## TO_START
+ gEfiHotPlugDeviceGuid ## SOMETIMES_CONSUMES
\ No newline at end of file diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h index 5c5d691761..4e37213b34 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h @@ -28,6 +28,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <Protocol/SimpleTextInEx.h>
#include <Protocol/GraphicsOutput.h>
#include <Protocol/UgaDraw.h>
+#include <Protocol/SimpleTextInExNotify.h>
#include <Guid/PrimaryStandardErrorDevice.h>
#include <Guid/PrimaryConsoleOutDevice.h>
@@ -67,7 +68,6 @@ extern EFI_DRIVER_BINDING_PROTOCOL gConSplitterStdErrDriverBinding; extern EFI_COMPONENT_NAME_PROTOCOL gConSplitterStdErrComponentName;
extern EFI_COMPONENT_NAME2_PROTOCOL gConSplitterStdErrComponentName2;
-extern EFI_GUID gSimpleTextInExNotifyGuid;
//
// These definitions were in the old Hii protocol, but are not in the new UEFI
diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf index 11982a1203..1f31796cb3 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf @@ -71,17 +71,16 @@ PcdLib
[Guids]
- gEfiConsoleInDeviceGuid ## SOMETIMES_CONSUMED
- gEfiStandardErrorDeviceGuid ## SOMETIMES_CONSUMED
- gEfiConsoleOutDeviceGuid ## SOMETIMES_CONSUMED
- gEfiPrimaryConsoleOutDeviceGuid ## PRODUCED
- gEfiPrimaryConsoleInDeviceGuid ## PRODUCED
- gEfiPrimaryStandardErrorDeviceGuid ## PRODUCED
- gSimpleTextInExNotifyGuid ## PRODUCED
- gEfiGenericPlatformVariableGuid ## SOMETIMES_CONSUMED ## Variable:L"ConOutMode"
+ gEfiConsoleInDeviceGuid ## SOMETIMES_CONSUMES
+ gEfiStandardErrorDeviceGuid ## SOMETIMES_CONSUMES
+ gEfiConsoleOutDeviceGuid ## SOMETIMES_CONSUMES
+ gEfiPrimaryConsoleOutDeviceGuid ## PRODUCES
+ gEfiPrimaryConsoleInDeviceGuid ## PRODUCES
+ gEfiPrimaryStandardErrorDeviceGuid ## PRODUCES
+ gEfiGenericPlatformVariableGuid ## SOMETIMES_CONSUMES ## Variable:L"ConOutMode"
[Protocols]
- gEfiConsoleControlProtocolGuid ## PRODUCED
+ gEfiConsoleControlProtocolGuid ## PRODUCES
gEfiSimplePointerProtocolGuid ## BY_START
gEfiAbsolutePointerProtocolGuid ## BY_START
gEfiSimpleTextInProtocolGuid ## BY_START
@@ -89,6 +88,7 @@ gEfiSimpleTextOutProtocolGuid ## BY_START
gEfiGraphicsOutputProtocolGuid ## BY_START
gEfiUgaDrawProtocolGuid ## BY_START
+ gSimpleTextInExNotifyGuid ## PRODUCES
[FeaturePcd.common]
diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h index f228400142..6d7d4ceddd 100644 --- a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h +++ b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h @@ -17,14 +17,18 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <Uefi.h>
+
+#include <Guid/GlobalVariable.h>
+#include <Guid/PcAnsi.h>
+
+#include <Protocol/SimpleTextInExNotify.h>
+#include <Protocol/HotPlugDevice.h>
#include <Protocol/SimpleTextOut.h>
#include <Protocol/SerialIo.h>
-#include <Guid/GlobalVariable.h>
#include <Protocol/DevicePath.h>
#include <Protocol/SimpleTextIn.h>
#include <Protocol/SimpleTextInEx.h>
-#include <Guid/HotPlugDevice.h>
-#include <Guid/PcAnsi.h>
+
#include <Library/DebugLib.h>
#include <Library/UefiDriverEntryPoint.h>
#include <Library/UefiLib.h>
@@ -164,8 +168,6 @@ extern EFI_DRIVER_BINDING_PROTOCOL gTerminalDriverBinding; extern EFI_COMPONENT_NAME_PROTOCOL gTerminalComponentName;
extern EFI_COMPONENT_NAME2_PROTOCOL gTerminalComponentName2;
-extern EFI_GUID gSimpleTextInExNotifyGuid;
-
/**
The user Entry Point for module Terminal. The user code starts with this function.
diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf b/MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf index 67e154df56..b7c765267f 100644 --- a/MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf +++ b/MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf @@ -65,8 +65,6 @@ gEfiVT100Guid ## SOMETIMES_CONSUMES ## GUID
gEfiVT100PlusGuid ## SOMETIMES_CONSUMES ## GUID
gEfiPcAnsiGuid ## SOMETIMES_CONSUMES ## GUID
- gSimpleTextInExNotifyGuid ## SOMETIMES_CONSUMES ##
- gEfiHotPlugDeviceGuid ## SOMETIMES_CONSUMES ##
[Protocols]
gEfiSerialIoProtocolGuid ## TO_START
@@ -74,6 +72,8 @@ gEfiSimpleTextInProtocolGuid ## BY_START
gEfiSimpleTextInputExProtocolGuid ## BY_START
gEfiSimpleTextOutProtocolGuid ## BY_START
+ gSimpleTextInExNotifyGuid ## SOMETIMES_CONSUMES
+ gEfiHotPlugDeviceGuid ## SOMETIMES_CONSUMES
[Pcd]
gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueRemoteConsoleError
|