]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DebugPortDxe/DebugPort.h
Code scrub for DebugPortDxe.
[mirror_edk2.git] / MdeModulePkg / Universal / DebugPortDxe / DebugPort.h
index 852cae94815ac7afe88b73983f5927c0eca27147..2379b349caa83182eb26f6ca46ed0e2aa3a05ad4 100644 (file)
@@ -54,8 +54,6 @@ typedef struct {
   EFI_HANDLE                  DebugPortDeviceHandle;\r
   VOID                        *DebugPortVariable;\r
 \r
-  EFI_DRIVER_BINDING_PROTOCOL DriverBindingInterface;\r
-  EFI_COMPONENT_NAME_PROTOCOL ComponentNameInterface;\r
   EFI_DEVICE_PATH_PROTOCOL    *DebugPortDevicePath;\r
   EFI_DEBUGPORT_PROTOCOL      DebugPortInterface;\r
 \r
@@ -77,7 +75,7 @@ typedef struct {
 #define DEBUGPORT_UART_DEFAULT_BAUDRATE   115200\r
 #define DEBUGPORT_UART_DEFAULT_PARITY     0\r
 #define DEBUGPORT_UART_DEFAULT_FIFO_DEPTH 16\r
-#define DEBUGPORT_UART_DEFAULT_TIMEOUT    50000 // 5 ms\r
+#define DEBUGPORT_UART_DEFAULT_TIMEOUT    50000 ///< 5 ms\r
 #define DEBUGPORT_UART_DEFAULT_DATA_BITS  8\r
 #define DEBUGPORT_UART_DEFAULT_STOP_BITS  1\r
 \r
@@ -85,11 +83,6 @@ typedef struct {
 \r
 #define IS_UART_DEVICEPATH(dp)           (DevicePathType (dp) == MESSAGING_DEVICE_PATH && DevicePathSubType (dp) == MSG_UART_DP)\r
 \r
-//\r
-// globals\r
-//\r
-extern DEBUGPORT_DEVICE  *gDebugPortDevice;\r
-\r
 /**\r
   Debug Port Driver entry pointo. \r
 \r