Code scrub for DebugPortDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6665 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user