repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
3.1.7 branch.
[minix.git]
/
kernel
/
arch
/
i386
/
serial.h
blob
230fd8519ffd3158cda8cca4a495a9f88283b86f
1
2
#ifndef _KERN_SERIAL_H
3
#define _KERN_SERIAL_H 1
4
5
#define THRREG 0
6
#define RBRREG 0
7
#define FICRREG 2
8
#define LSRREG 5
9
#define LCRREG 3
10
#define SPRREG 7
11
12
#define COM1_BASE 0x3F8
13
#define COM1_THR (COM1_BASE + THRREG)
14
#define COM1_RBR (COM1_BASE + RBRREG)
15
#define COM1_LSR (COM1_BASE + LSRREG)
16
#define LSR_DR 0x01
17
#define LSR_THRE 0x20
18
#define LCR_DLA 0x80
19
20
#endif