/** @file\r
Include for Serial Driver\r
\r
-Copyright (c) 2006 - 2009, Intel Corporation.<BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
http://opensource.org/licenses/bsd-license.php\r
#define _SERIAL_H_\r
\r
\r
-#include <PiDxe.h>\r
-#include <FrameworkPei.h>\r
+#include <FrameworkDxe.h>\r
\r
#include <Protocol/IsaIo.h>\r
#include <Protocol/SerialIo.h>\r
\r
#include <Library/DebugLib.h>\r
#include <Library/UefiDriverEntryPoint.h>\r
-#include <Library/BaseLib.h>\r
#include <Library/UefiLib.h>\r
#include <Library/DevicePathLib.h>\r
#include <Library/BaseMemoryLib.h>\r
BOOLEAN HardwareFlowControl;\r
EFI_UART_TYPE Type;\r
EFI_UNICODE_STRING_TABLE *ControllerNameTable;\r
- BOOLEAN UseHalfHandshake;\r
} SERIAL_DEV;\r
\r
#define SERIAL_DEV_FROM_THIS(a) CR (a, SERIAL_DEV, SerialIo, SERIAL_DEV_SIGNATURE)\r
//\r
#define SERIAL_PORT_DEFAULT_RECEIVE_FIFO_DEPTH 1\r
#define SERIAL_PORT_DEFAULT_TIMEOUT 1000000\r
-#define SERIAL_PORT_DEFAULT_CONTROL_MASK 0\r
+#define SERIAL_PORT_SUPPORT_CONTROL_MASK (EFI_SERIAL_CLEAR_TO_SEND | \\r
+ EFI_SERIAL_DATA_SET_READY | \\r
+ EFI_SERIAL_RING_INDICATE | \\r
+ EFI_SERIAL_CARRIER_DETECT | \\r
+ EFI_SERIAL_REQUEST_TO_SEND | \\r
+ EFI_SERIAL_DATA_TERMINAL_READY | \\r
+ EFI_SERIAL_HARDWARE_LOOPBACK_ENABLE | \\r
+ EFI_SERIAL_SOFTWARE_LOOPBACK_ENABLE | \\r
+ EFI_SERIAL_HARDWARE_FLOW_CONTROL_ENABLE | \\r
+ EFI_SERIAL_OUTPUT_BUFFER_EMPTY | \\r
+ EFI_SERIAL_INPUT_BUFFER_EMPTY)\r
\r
\r
//\r