desktech.h revision 1.1 1 /* $OpenBSD: desktech.h,v 1.4 1996/10/01 20:50:12 pefo Exp $ */
2
3 /*
4 * Copyright (c) 1996 Per Fogelstrom
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 * 3. All advertising materials mentioning features or use of this software
15 * must display the following acknowledgement:
16 * This product includes software developed under OpenBSD by
17 * Per Fogelstrom.
18 * 4. The name of the author may not be used to endorse or promote products
19 * derived from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
22 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
25 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 */
34
35 #ifndef _DESKTECH_H_
36 #define _DESKTECH_H_ 1
37
38 /*
39 * TYNE's Physical address space
40 */
41
42 #define TYNE_PHYS_MIN 0x00000000 /* 256 Meg */
43 #define TYNE_PHYS_MAX 0x0fffffff
44
45 /*
46 * Memory map
47 */
48
49 #define TYNE_PHYS_MEMORY_START 0x00000000
50 #define TYNE_PHYS_MEMORY_END 0x0fffffff /* 256 Meg in 4 slots */
51
52 /*
53 * I/O map
54 */
55
56 #define TYNE_P_ISA_IO (0x0900000000LL) /* ISA I/O Control */
57 #define TYNE_V_ISA_IO 0xe0000000
58 #define TYNE_S_ISA_IO 0x00010000
59
60 #define TYNE_P_ISA_MEM (0x0100000000LL) /* ISA Memory control */
61 #define TYNE_V_ISA_MEM 0xe1000000
62 #define TYNE_S_ISA_MEM 0x00100000
63
64 #define TYNE_P_BOUNCE (0x0100800000LL) /* Dma bounce buffer */
65 #define TYNE_V_BOUNCE 0xe2000000
66 #define TYNE_S_BOUNCE 0x00020000
67
68 #endif /* _DESKTECH_H_ */
69