0001
0002 #ifndef __ASM_MIPSPROM_H
0003 #define __ASM_MIPSPROM_H
0004
0005 #define PROM_RESET 0
0006 #define PROM_EXEC 1
0007 #define PROM_RESTART 2
0008 #define PROM_REINIT 3
0009 #define PROM_REBOOT 4
0010 #define PROM_AUTOBOOT 5
0011 #define PROM_OPEN 6
0012 #define PROM_READ 7
0013 #define PROM_WRITE 8
0014 #define PROM_IOCTL 9
0015 #define PROM_CLOSE 10
0016 #define PROM_GETCHAR 11
0017 #define PROM_PUTCHAR 12
0018 #define PROM_SHOWCHAR 13
0019 #define PROM_GETS 14
0020 #define PROM_PUTS 15
0021 #define PROM_PRINTF 16
0022
0023
0024 #define PROM_INITPROTO 17
0025 #define PROM_PROTOENABLE 18
0026 #define PROM_PROTODISABLE 19
0027 #define PROM_GETPKT 20
0028 #define PROM_PUTPKT 21
0029
0030
0031 #define PROM_ORW_RMW 22
0032 #define PROM_ORH_RMW 23
0033 #define PROM_ORB_RMW 24
0034 #define PROM_ANDW_RMW 25
0035 #define PROM_ANDH_RMW 26
0036 #define PROM_ANDB_RMW 27
0037
0038
0039 #define PROM_FLUSHCACHE 28
0040 #define PROM_CLEARCACHE 29
0041
0042
0043 #define PROM_SETJMP 30
0044 #define PROM_LONGJMP 31
0045 #define PROM_BEVUTLB 32
0046 #define PROM_GETENV 33
0047 #define PROM_SETENV 34
0048 #define PROM_ATOB 35
0049 #define PROM_STRCMP 36
0050 #define PROM_STRLEN 37
0051 #define PROM_STRCPY 38
0052 #define PROM_STRCAT 39
0053
0054
0055 #define PROM_PARSER 40
0056 #define PROM_RANGE 41
0057 #define PROM_ARGVIZE 42
0058 #define PROM_HELP 43
0059
0060
0061 #define PROM_DUMPCMD 44
0062 #define PROM_SETENVCMD 45
0063 #define PROM_UNSETENVCMD 46
0064 #define PROM_PRINTENVCMD 47
0065 #define PROM_BEVEXCEPT 48
0066 #define PROM_ENABLECMD 49
0067 #define PROM_DISABLECMD 50
0068
0069 #define PROM_CLEARNOFAULT 51
0070 #define PROM_NOTIMPLEMENT 52
0071
0072 #define PROM_NV_GET 53
0073 #define PROM_NV_SET 54
0074
0075 extern char *prom_getenv(char *);
0076
0077 #endif