FreeBSD/Linux Kernel Cross Reference
sys/i386ipsc/dcm.h
1 /*
2 * Mach Operating System
3 * Copyright (c) 1991 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the
9 * software, derivative works or modified versions, and any portions
10 * thereof, and that both notices appear in supporting documentation.
11 *
12 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
13 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
14 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
15 *
16 * Carnegie Mellon requests users of this software to return to
17 *
18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie Mellon
24 * the rights to redistribute these changes.
25 */
26 /*
27 * Copyright 1988, 1989, 1990, 1991 by Intel Corporation,
28 * Santa Clara, California.
29 *
30 * All Rights Reserved
31 *
32 * Permission to use, copy, modify, and distribute this software and its
33 * documentation for any purpose and without fee is hereby granted,
34 * provided that the above copyright notice appears in all copies and that
35 * both the copyright notice and this permission notice appear in
36 * supporting documentation, and that the name of Intel not be used in
37 * advertising or publicity pertaining to distribution of the software
38 * without specific, written prior permission.
39 *
40 * INTEL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING
41 * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
42 * SHALL INTEL BE LIABLE FOR ANY SPECIAL, INDIRECT, OR CONSEQUENTIAL
43 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
44 * PROFITS, WHETHER IN ACTION OF CONTRACT, NEGLIGENCE, OR OTHER TORTIOUS
45 * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
46 * THIS SOFTWARE.
47 */
48 /*
49 * HISTORY
50 * $Log: dcm.h,v $
51 * Revision 2.4 91/08/03 18:17:53 jsb
52 * Removed PHYSADDR definition.
53 * [91/07/24 22:59:34 jsb]
54 *
55 * Revision 2.3 91/06/18 20:50:12 jsb
56 * New copyright from Intel.
57 * [91/06/18 20:06:00 jsb]
58 *
59 * Revision 2.2 91/06/06 17:04:24 jsb
60 * First checkin.
61 * [91/05/14 13:24:02 jsb]
62 *
63 */
64
65 /* Adma programming commands */
66 #define SENDCMD 0x800D
67 #define RECVCMD 0x500D
68 #define CANCMD 0x5009
69 #define STOPCMD 0x0000
70 #define JUMPCMD 0x200F
71 #define NOPCMD 0x2000
72 #define LISTCTL 0x0600
73 #define EOD 0x0800
74
75 struct adma_chan { /* Adma program body */
76 unsigned short fill1;
77
78 unsigned short cmd1; /* Adma transfer command */
79 unsigned long src1; /* physical address of source data */
80 unsigned long dst1;
81 unsigned long cnt1; /* data count */
82 unsigned short stat1;
83
84 unsigned short cmd2;
85 unsigned long src2;
86 unsigned long dst2;
87 unsigned long cnt2;
88 unsigned short stat2;
89
90 unsigned short cmd3;
91 unsigned long src3;
92 unsigned long dst3;
93 unsigned long cnt3;
94 unsigned short stat3;
95
96 unsigned short cmd4;
97 unsigned long src4;
98 unsigned long dst4;
99 unsigned long cnt4;
100 unsigned short stat4;
101
102 unsigned short cmd5;
103 unsigned long fill5;
104 };
Cache object: 17db45821d6ace73f8113f6707b59c88
|