Prevent overflow of the KernelBase->kb_Interrupts array when initialising IRQs. This...
[AROS.git] / compiler / include / prefs / serial.h
blob3b630507d6b3c5f50fcab858a13b56eda022bde9
1 #ifndef PREFS_SERIAL_H
2 #define PREFS_SERIAL_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Serial prefs definitions
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 # include <exec/types.h>
14 #endif
16 #ifndef LIBRARIES_IFFPARSE_H
17 # include <libraries/iffparse.h>
18 #endif
21 #define ID_SERL MAKE_ID('S','E','R','L')
23 struct SerialPrefs
25 LONG sp_Reserved[3];
26 ULONG sp_Unit0Map;
27 ULONG sp_BaudRate;
29 ULONG sp_InputBuffer;
30 ULONG sp_OutputBuffer;
32 UBYTE sp_InputHandshake;
33 UBYTE sp_OutputHandshake;
35 UBYTE sp_Parity;
36 UBYTE sp_BitsPerChar;
37 UBYTE sp_StopBits;
40 #define PARITY_NONE 0
41 #define PARITY_EVEN 1
42 #define PARITY_ODD 2
43 #define PARITY_MARK 3
44 #define PARITY_SPACE 4
46 #define HSHAKE_XON 0
47 #define HSHAKE_RTS 1
48 #define HSHAKE_NONE 2
50 #endif /* PREFS_SERIAL_H */