1#ifndef __ASM_MIPS_PROM_H
2#define __ASM_MIPS_PROM_H
3
4#define PROM_RESET		0
5#define PROM_EXEC		1
6#define PROM_RESTART		2
7#define PROM_REINIT		3
8#define PROM_REBOOT		4
9#define PROM_AUTOBOOT		5
10#define PROM_OPEN		6
11#define PROM_READ		7
12#define PROM_WRITE		8
13#define PROM_IOCTL		9
14#define PROM_CLOSE		10
15#define PROM_GETCHAR		11
16#define PROM_PUTCHAR		12
17#define PROM_SHOWCHAR		13
18#define PROM_GETS		14
19#define PROM_PUTS		15
20#define PROM_PRINTF		16
21
22/* What are these for? */
23#define PROM_INITPROTO		17
24#define PROM_PROTOENABLE	18
25#define PROM_PROTODISABLE	19
26#define PROM_GETPKT		20
27#define PROM_PUTPKT		21
28
29/* More PROM shit.  Probably has to do with VME RMW cycles??? */
30#define PROM_ORW_RMW		22
31#define PROM_ORH_RMW		23
32#define PROM_ORB_RMW		24
33#define PROM_ANDW_RMW		25
34#define PROM_ANDH_RMW		26
35#define PROM_ANDB_RMW		27
36
37/* Cache handling stuff */
38#define PROM_FLUSHCACHE		28
39#define PROM_CLEARCACHE		29
40
41/* Libc alike stuff */
42#define PROM_SETJMP		30
43#define PROM_LONGJMP		31
44#define PROM_BEVUTLB		32
45#define PROM_GETENV		33
46#define PROM_SETENV		34
47#define PROM_ATOB		35
48#define PROM_STRCMP		36
49#define PROM_STRLEN		37
50#define PROM_STRCPY		38
51#define PROM_STRCAT		39
52
53/* Misc stuff */
54#define PROM_PARSER		40
55#define PROM_RANGE		41
56#define PROM_ARGVIZE		42
57#define PROM_HELP		43
58
59/* Entry points for some PROM commands */
60#define PROM_DUMPCMD		44
61#define PROM_SETENVCMD		45
62#define PROM_UNSETENVCMD	46
63#define PROM_PRINTENVCMD	47
64#define PROM_BEVEXCEPT		48
65#define PROM_ENABLECMD		49
66#define PROM_DISABLECMD		50
67
68#define PROM_CLEARNOFAULT	51
69#define PROM_NOTIMPLEMENT	52
70
71#define PROM_NV_GET		53
72#define PROM_NV_SET		54
73
74#endif /* __ASM_MIPS_PROM_H */
75