chiark / gitweb /
Initial revision
[ssr] / StraySrc / Libraries / Sapphire / csapph / h / mem
1 /*
2  * mem.h
3  *
4  * [Generated from mem, 25 September 1996]
5  */
6
7 #if !defined(__CC_NORCROFT) || !defined(__arm)
8   #error You must use the Norcroft ARM Compiler for Sapphire programs
9 #endif
10
11 #pragma include_only_once
12 #pragma force_top_level
13
14 #ifndef __mem_h
15 #define __mem_h
16
17 #ifndef __sapphire_h
18   #include "sapphire.h"
19 #endif
20
21 /*----- Overview ----------------------------------------------------------*
22  *
23  * Functions provided:
24  *
25  *  mem_set
26  */
27
28 /* --- mem_set --- *
29  *
30  * On entry:    R0 == pointer to a block of memory (word-aligned)
31  *              R1 == size of the block
32  *              R2 == word value to store in the block
33  *
34  * On exit:     --
35  *
36  * Use:         Initialises a block by filling every word within it with the
37  *              same value.  This is normally 0, although maybe MOVS PC,#0
38  *              might be useful too.
39  */
40
41 extern routine mem_set;
42
43 /*----- That's all, folks -------------------------------------------------*/
44
45 #endif