1 
   2 #ifndef __ASM_MIPSPROM_H
   3 #define __ASM_MIPSPROM_H
   4 
   5 #define PROM_RESET              0
   6 #define PROM_EXEC               1
   7 #define PROM_RESTART            2
   8 #define PROM_REINIT             3
   9 #define PROM_REBOOT             4
  10 #define PROM_AUTOBOOT           5
  11 #define PROM_OPEN               6
  12 #define PROM_READ               7
  13 #define PROM_WRITE              8
  14 #define PROM_IOCTL              9
  15 #define PROM_CLOSE              10
  16 #define PROM_GETCHAR            11
  17 #define PROM_PUTCHAR            12
  18 #define PROM_SHOWCHAR           13      
  19 #define PROM_GETS               14      
  20 #define PROM_PUTS               15      
  21 #define PROM_PRINTF             16      
  22 
  23 
  24 #define PROM_INITPROTO          17      
  25 #define PROM_PROTOENABLE        18      
  26 #define PROM_PROTODISABLE       19      
  27 #define PROM_GETPKT             20      
  28 #define PROM_PUTPKT             21      
  29 
  30 
  31 #define PROM_ORW_RMW            22      
  32 #define PROM_ORH_RMW            23      
  33 #define PROM_ORB_RMW            24      
  34 #define PROM_ANDW_RMW           25      
  35 #define PROM_ANDH_RMW           26      
  36 #define PROM_ANDB_RMW           27      
  37 
  38 
  39 #define PROM_FLUSHCACHE         28      
  40 #define PROM_CLEARCACHE         29      
  41 
  42 
  43 #define PROM_SETJMP             30      
  44 #define PROM_LONGJMP            31      
  45 #define PROM_BEVUTLB            32      
  46 #define PROM_GETENV             33      
  47 #define PROM_SETENV             34      
  48 #define PROM_ATOB               35      
  49 #define PROM_STRCMP             36      
  50 #define PROM_STRLEN             37      
  51 #define PROM_STRCPY             38      
  52 #define PROM_STRCAT             39      
  53 
  54 
  55 #define PROM_PARSER             40      
  56 #define PROM_RANGE              41      
  57 #define PROM_ARGVIZE            42      
  58 #define PROM_HELP               43      
  59 
  60 
  61 #define PROM_DUMPCMD            44      
  62 #define PROM_SETENVCMD          45      
  63 #define PROM_UNSETENVCMD        46      
  64 #define PROM_PRINTENVCMD        47      
  65 #define PROM_BEVEXCEPT          48      
  66 #define PROM_ENABLECMD          49      
  67 #define PROM_DISABLECMD         50      
  68 
  69 #define PROM_CLEARNOFAULT       51      
  70 #define PROM_NOTIMPLEMENT       52      
  71 
  72 #define PROM_NV_GET             53      
  73 #define PROM_NV_SET             54      
  74 
  75 extern char *prom_getenv(char *);
  76 
  77 #endif