Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenkdcom.h
Go to the documentation of this file.
00001 /* 00002 * COPYRIGHT: GPL, see COPYING in the top level directory 00003 * PROJECT: ReactOS kernel 00004 * FILE: drivers/base/kddll/kdcom.h 00005 * PURPOSE: COM port definitions for the kernel debugger. 00006 * PROGRAMMER: Timo Kreuzer (timo.kreuzer@ewactos.org) 00007 */ 00008 00009 #pragma once 00010 00011 #define COM_DAT 0x00 00012 #define COM_IEN 0x01 /* interrupt enable register */ 00013 #define COM_FCR 0x02 /* FIFO Control Register */ 00014 #define COM_LCR 0x03 /* line control registers */ 00015 #define COM_MCR 0x04 /* modem control reg */ 00016 #define COM_LSR 0x05 /* line status register */ 00017 #define COM_MSR 0x06 /* modem status register */ 00018 #define COM_SCR 0x07 /* scratch register */ 00019 #define COM_DLL 0x00 /* divisor latch least sig */ 00020 #define COM_DLM 0x01 /* divisor latch most sig */ 00021 00022 #define IEN_ERDA 0x01 00023 #define IEN_ETHRE 0x02 00024 #define IEN_ERLSI 0x04 00025 #define IEN_EMS 0x08 00026 #define IEN_ALL 0x0F 00027 #define FCR_ENABLE_FIFO 0x01 00028 #define FCR_CLEAR_RCVR 0x02 00029 #define FCR_CLEAR_XMIT 0x04 00030 #define LCR_CS5 0x00 00031 #define LCR_CS6 0x01 00032 #define LCR_CS7 0x02 00033 #define LCR_CS8 0x03 00034 #define LCR_ST1 0x00 00035 #define LCR_ST2 0x04 00036 #define LCR_PNO 0x00 00037 #define LCR_POD 0x08 00038 #define LCR_PEV 0x18 00039 #define LCR_PMK 0x28 00040 #define LCR_PSP 0x38 00041 #define LCR_BRK 0x40 00042 #define LCR_DLAB 0x80 00043 #define MCR_DTR 0x01 00044 #define MCR_RTS 0x02 00045 #define MCR_OUT1 0x04 /* general purpose output */ 00046 #define MCR_OUT2 0x08 00047 #define MCR_LOOP 0x10 /* loopback testing mode */ 00048 #define MCR_ALL (MCR_DTR | MCR_RTS | MCR_OUT1 | MCR_OUT2 | MCR_LOOP) 00049 #define LSR_DR 0x01 00050 #define LSR_TBE 0x20 00051 #define MSR_CTS 0x10 /* (complemented) state of clear to send (CTS). */ 00052 #define MSR_DSR 0x20 /* (complemented) state of data set ready (DSR). */ 00053 #define MSR_RI 0x40 /* (complemented) state of ring indicator (RI). */ 00054 #define MSR_DCD 0x80 /* (complemented) state of data carrier detect (DCD). */ Generated on Sat May 26 2012 04:25:42 for ReactOS by
1.7.6.1
|