[PATCH] arm: allow for arch-specific IOREMAP_MAX_ORDER
[linux-ginger.git] / include / asm-mips / mipsprom.h
blobce7cff7f1e8eb3c30736c135e247acbd9de8ac74
1 #ifndef __ASM_MIPS_PROM_H
2 #define __ASM_MIPS_PROM_H
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 /* XXX */
18 #define PROM_GETS 14 /* XXX */
19 #define PROM_PUTS 15 /* XXX */
20 #define PROM_PRINTF 16 /* XXX */
22 /* What are these for? */
23 #define PROM_INITPROTO 17 /* XXX */
24 #define PROM_PROTOENABLE 18 /* XXX */
25 #define PROM_PROTODISABLE 19 /* XXX */
26 #define PROM_GETPKT 20 /* XXX */
27 #define PROM_PUTPKT 21 /* XXX */
29 /* More PROM shit. Probably has to do with VME RMW cycles??? */
30 #define PROM_ORW_RMW 22 /* XXX */
31 #define PROM_ORH_RMW 23 /* XXX */
32 #define PROM_ORB_RMW 24 /* XXX */
33 #define PROM_ANDW_RMW 25 /* XXX */
34 #define PROM_ANDH_RMW 26 /* XXX */
35 #define PROM_ANDB_RMW 27 /* XXX */
37 /* Cache handling stuff */
38 #define PROM_FLUSHCACHE 28 /* XXX */
39 #define PROM_CLEARCACHE 29 /* XXX */
41 /* Libc alike stuff */
42 #define PROM_SETJMP 30 /* XXX */
43 #define PROM_LONGJMP 31 /* XXX */
44 #define PROM_BEVUTLB 32 /* XXX */
45 #define PROM_GETENV 33 /* XXX */
46 #define PROM_SETENV 34 /* XXX */
47 #define PROM_ATOB 35 /* XXX */
48 #define PROM_STRCMP 36 /* XXX */
49 #define PROM_STRLEN 37 /* XXX */
50 #define PROM_STRCPY 38 /* XXX */
51 #define PROM_STRCAT 39 /* XXX */
53 /* Misc stuff */
54 #define PROM_PARSER 40 /* XXX */
55 #define PROM_RANGE 41 /* XXX */
56 #define PROM_ARGVIZE 42 /* XXX */
57 #define PROM_HELP 43 /* XXX */
59 /* Entry points for some PROM commands */
60 #define PROM_DUMPCMD 44 /* XXX */
61 #define PROM_SETENVCMD 45 /* XXX */
62 #define PROM_UNSETENVCMD 46 /* XXX */
63 #define PROM_PRINTENVCMD 47 /* XXX */
64 #define PROM_BEVEXCEPT 48 /* XXX */
65 #define PROM_ENABLECMD 49 /* XXX */
66 #define PROM_DISABLECMD 50 /* XXX */
68 #define PROM_CLEARNOFAULT 51 /* XXX */
69 #define PROM_NOTIMPLEMENT 52 /* XXX */
71 #define PROM_NV_GET 53 /* XXX */
72 #define PROM_NV_SET 54 /* XXX */
74 #endif /* __ASM_MIPS_PROM_H */