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