summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-21 07:13:33 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-21 07:13:33 +0000
commit2d285faad8505a22d923935b6f00eebeba5b4172 (patch)
tree92d8f33b885b96f4bd728f444c8c970e237b8063 /MdeModulePkg/Universal/DebugPortDxe/DebugPort.h
parent64735d2414da5ce4f6eb82f3a51e98a96267da52 (diff)
downloadedk2-2d285faad8505a22d923935b6f00eebeba5b4172.zip
edk2-2d285faad8505a22d923935b6f00eebeba5b4172.tar.gz
edk2-2d285faad8505a22d923935b6f00eebeba5b4172.tar.bz2
Code scrub for DebugPortDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6665 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/DebugPortDxe/DebugPort.h')
-rw-r--r--MdeModulePkg/Universal/DebugPortDxe/DebugPort.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h
index 852cae9..2379b34 100644
--- a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h
+++ b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h
@@ -54,8 +54,6 @@ typedef struct {
EFI_HANDLE DebugPortDeviceHandle;
VOID *DebugPortVariable;
- EFI_DRIVER_BINDING_PROTOCOL DriverBindingInterface;
- EFI_COMPONENT_NAME_PROTOCOL ComponentNameInterface;
EFI_DEVICE_PATH_PROTOCOL *DebugPortDevicePath;
EFI_DEBUGPORT_PROTOCOL DebugPortInterface;
@@ -77,7 +75,7 @@ typedef struct {
#define DEBUGPORT_UART_DEFAULT_BAUDRATE 115200
#define DEBUGPORT_UART_DEFAULT_PARITY 0
#define DEBUGPORT_UART_DEFAULT_FIFO_DEPTH 16
-#define DEBUGPORT_UART_DEFAULT_TIMEOUT 50000 // 5 ms
+#define DEBUGPORT_UART_DEFAULT_TIMEOUT 50000 ///< 5 ms
#define DEBUGPORT_UART_DEFAULT_DATA_BITS 8
#define DEBUGPORT_UART_DEFAULT_STOP_BITS 1
@@ -85,11 +83,6 @@ typedef struct {
#define IS_UART_DEVICEPATH(dp) (DevicePathType (dp) == MESSAGING_DEVICE_PATH && DevicePathSubType (dp) == MSG_UART_DP)
-//
-// globals
-//
-extern DEBUGPORT_DEVICE *gDebugPortDevice;
-
/**
Debug Port Driver entry pointo.