Go to the documentation of this file.
8 #ifndef __SPARC64_OPLIB_H
9 #define __SPARC64_OPLIB_H
11 #include <asm/openprom.h>
76 extern void prom_feval(
const char *forth_string);
95 extern
unsigned char prom_get_idprom(
char *idp_buffer,
int idpbuf_size);
114 extern void prom_startcpu_cpuid(
int cpuid,
unsigned long pc,
unsigned long arg);
117 extern void prom_stopcpu_cpuid(
int cpuid);
120 extern void prom_stopself(
void);
123 extern void prom_idleself(
void);
126 extern void prom_resumecpu(
int cpunode);
153 unsigned long tte_data,
154 unsigned long vaddr);
157 unsigned long tte_data,
158 unsigned long vaddr);
163 #define PROM_MAP_WRITE 0x0001
164 #define PROM_MAP_READ 0x0002
165 #define PROM_MAP_EXEC 0x0004
166 #define PROM_MAP_LOCKED 0x0010
167 #define PROM_MAP_CACHED 0x0020
168 #define PROM_MAP_SE 0x0040
169 #define PROM_MAP_GLOB 0x0080
170 #define PROM_MAP_IE 0x0100
171 #define PROM_MAP_DEFAULT (PROM_MAP_WRITE | PROM_MAP_READ | PROM_MAP_EXEC | PROM_MAP_CACHED)
197 char *prop_buffer,
int propbuf_size);