X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FDebugPortDxe%2FDebugPort.h;fp=MdeModulePkg%2FUniversal%2FDebugPortDxe%2FDebugPort.h;h=2379b349caa83182eb26f6ca46ed0e2aa3a05ad4;hp=852cae94815ac7afe88b73983f5927c0eca27147;hb=2d285faad8505a22d923935b6f00eebeba5b4172;hpb=64735d2414da5ce4f6eb82f3a51e98a96267da52 diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h index 852cae9481..2379b349ca 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.