Merge zeep.eecs.umich.edu:/m5/Bitkeeper/alpha-system
[gem5.git] / system / alpha / h / isa_buff.h
1 #ifndef __ISA_BUFFER_H_LOADED
2 #define __ISA_BUFFER_H_LOADED
3 /*****************************************************************************
4
5 Copyright © 1993, 1994 Digital Equipment Corporation,
6 Maynard, Massachusetts.
7
8 All Rights Reserved
9
10 Permission to use, copy, modify, and distribute this software and its
11 documentation for any purpose and without fee is hereby granted, provided
12 that the copyright notice and this permission notice appear in all copies
13 of software and supporting documentation, and that the name of Digital not
14 be used in advertising or publicity pertaining to distribution of the software
15 without specific, written prior permission. Digital grants this permission
16 provided that you prominently mark, as not part of the original, any
17 modifications made to this software or documentation.
18
19 Digital Equipment Corporation disclaims all warranties and/or guarantees
20 with regard to this software, including all implied warranties of fitness for
21 a particular purpose and merchantability, and makes no representations
22 regarding the use of, or the results of the use of, the software and
23 documentation in terms of correctness, accuracy, reliability, currentness or
24 otherwise; and you rely on the software, documentation and results solely at
25 your own risk.
26
27 ******************************************************************************/
28
29 /*
30 * $Id: isa_buff.h,v 1.1.1.1 1997/10/30 23:27:15 verghese Exp $
31 */
32
33 /*
34 * MODULE DESCRIPTION:
35 *
36 * Buffer allocator for ISA DMA buffers. Note that this buffer allocator
37 * does not allow buffers to be freed.
38 *
39 * HISTORY:
40 *
41 * $Log: isa_buff.h,v $
42 * Revision 1.1.1.1 1997/10/30 23:27:15 verghese
43 * current 10/29/97
44 *
45 * Revision 1.3 1994/08/05 20:13:47 fdh
46 * Updated Copyright header and RCS $Id: identifier.
47 *
48 * Revision 1.2 1994/06/20 14:18:59 fdh
49 * Fixup header file preprocessor #include conditionals.
50 *
51 * Revision 1.1 1993/08/06 10:31:10 berent
52 * Initial revision
53 *
54 *
55 */
56
57
58 /* isa_buffer_init_module - initialise the module
59 */
60 extern void isa_buffer_init_module(void);
61
62 /* isa_buffer_alloc - allocate a region of memory accessable by ISA DMA devices
63 *
64 * Argument:
65 * size - number of bytes to allocate
66 *
67 * Result:
68 * Pointer to start of buffer
69 */
70 extern void * isa_buffer_alloc(int size);
71
72 #endif /* __ISA_BUFFER_H_LOADED */