summaryrefslogtreecommitdiff
path: root/serial/VirtualSerial/serial.h
diff options
context:
space:
mode:
authorWei Mao <[email protected]>2023-01-11 17:49:06 -0800
committerWei Mao <[email protected]>2023-01-13 00:25:06 -0800
commit5c647868e2f8968e2a490bc02da304020405fcce (patch)
tree55ba978269f447985fe1de794587d0341d29d62d /serial/VirtualSerial/serial.h
parent5bc6b56aef39e19add03297afe0c36168f370dc4 (diff)
[UMDF v1] Remove serial/VirtualSerial/ComPort/virtualserial, fakemodem
Diffstat (limited to 'serial/VirtualSerial/serial.h')
-rw-r--r--serial/VirtualSerial/serial.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/serial/VirtualSerial/serial.h b/serial/VirtualSerial/serial.h
deleted file mode 100644
index 0ae91186..00000000
--- a/serial/VirtualSerial/serial.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/*++
-
-Module Name :
-
- serial.h
-
-Abstract:
-
- Type definitions and data for the serial port driver
-
-Author:
-
-
---*/
-
-#pragma once
-
-#define SYMBOLIC_NAME_LENGTH 32
-#define SYMBOLIC_LINK_NAME_PREFIX L"\\DosDevices\\Global\\"
-
-//
-// This defines the bit used to control whether the device is sending
-// a break. When this bit is set the device is sending a space (logic 0).
-//
-// Most protocols will assume that this is a hangup.
-//
-#define SERIAL_LCR_BREAK 0x40
-
-//
-// These defines are used to set the line control register.
-//
-#define SERIAL_5_DATA ((UCHAR)0x00)
-#define SERIAL_6_DATA ((UCHAR)0x01)
-#define SERIAL_7_DATA ((UCHAR)0x02)
-#define SERIAL_8_DATA ((UCHAR)0x03)
-#define SERIAL_DATA_MASK ((UCHAR)0x03)
-
-#define SERIAL_1_STOP ((UCHAR)0x00)
-#define SERIAL_1_5_STOP ((UCHAR)0x04) // Only valid for 5 data bits
-#define SERIAL_2_STOP ((UCHAR)0x04) // Not valid for 5 data bits
-#define SERIAL_STOP_MASK ((UCHAR)0x04)
-
-#define SERIAL_NONE_PARITY ((UCHAR)0x00)
-#define SERIAL_ODD_PARITY ((UCHAR)0x08)
-#define SERIAL_EVEN_PARITY ((UCHAR)0x18)
-#define SERIAL_MARK_PARITY ((UCHAR)0x28)
-#define SERIAL_SPACE_PARITY ((UCHAR)0x38)
-#define SERIAL_PARITY_MASK ((UCHAR)0x38)