diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/asm/sgialib.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/arch/mips/include/asm/sgialib.h b/arch/mips/include/asm/sgialib.h index 63741ca1e422..2a2f1bddc276 100644 --- a/arch/mips/include/asm/sgialib.h +++ b/arch/mips/include/asm/sgialib.h | |||
@@ -33,14 +33,6 @@ extern int prom_flags; | |||
33 | extern void prom_putchar(char c); | 33 | extern void prom_putchar(char c); |
34 | extern char prom_getchar(void); | 34 | extern char prom_getchar(void); |
35 | 35 | ||
36 | /* Memory descriptor management. */ | ||
37 | #define PROM_MAX_PMEMBLOCKS 32 | ||
38 | struct prom_pmemblock { | ||
39 | LONG base; /* Within KSEG0 or XKPHYS. */ | ||
40 | ULONG size; /* In bytes. */ | ||
41 | ULONG type; /* free or prom memory */ | ||
42 | }; | ||
43 | |||
44 | /* Get next memory descriptor after CURR, returns first descriptor | 36 | /* Get next memory descriptor after CURR, returns first descriptor |
45 | * in chain is CURR is NULL. | 37 | * in chain is CURR is NULL. |
46 | */ | 38 | */ |
@@ -51,7 +43,6 @@ extern struct linux_mdesc *prom_getmdesc(struct linux_mdesc *curr); | |||
51 | * array. | 43 | * array. |
52 | */ | 44 | */ |
53 | extern void prom_meminit(void); | 45 | extern void prom_meminit(void); |
54 | extern void prom_fixup_mem_map(unsigned long start_mem, unsigned long end_mem); | ||
55 | 46 | ||
56 | /* PROM device tree library routines. */ | 47 | /* PROM device tree library routines. */ |
57 | #define PROM_NULL_COMPONENT ((pcomponent *) 0) | 48 | #define PROM_NULL_COMPONENT ((pcomponent *) 0) |
@@ -62,20 +53,6 @@ extern pcomponent *ArcGetPeer(pcomponent *this); | |||
62 | /* Get child component of THIS. */ | 53 | /* Get child component of THIS. */ |
63 | extern pcomponent *ArcGetChild(pcomponent *this); | 54 | extern pcomponent *ArcGetChild(pcomponent *this); |
64 | 55 | ||
65 | /* Get parent component of CHILD. */ | ||
66 | extern pcomponent *prom_getparent(pcomponent *child); | ||
67 | |||
68 | /* Copy component opaque data of component THIS into BUFFER | ||
69 | * if component THIS has opaque data. Returns success or | ||
70 | * failure status. | ||
71 | */ | ||
72 | extern long prom_getcdata(void *buffer, pcomponent *this); | ||
73 | |||
74 | /* Other misc. component routines. */ | ||
75 | extern pcomponent *prom_childadd(pcomponent *this, pcomponent *tmp, void *data); | ||
76 | extern long prom_delcomponent(pcomponent *this); | ||
77 | extern pcomponent *prom_componentbypath(char *path); | ||
78 | |||
79 | /* This is called at prom_init time to identify the | 56 | /* This is called at prom_init time to identify the |
80 | * ARC architecture we are running on | 57 | * ARC architecture we are running on |
81 | */ | 58 | */ |
@@ -88,35 +65,13 @@ extern LONG ArcSetEnvironmentVariable(PCHAR name, PCHAR value); | |||
88 | /* ARCS command line parsing. */ | 65 | /* ARCS command line parsing. */ |
89 | extern void prom_init_cmdline(void); | 66 | extern void prom_init_cmdline(void); |
90 | 67 | ||
91 | /* Acquiring info about the current time, etc. */ | ||
92 | extern struct linux_tinfo *prom_gettinfo(void); | ||
93 | extern unsigned long prom_getrtime(void); | ||
94 | |||
95 | /* File operations. */ | 68 | /* File operations. */ |
96 | extern long prom_getvdirent(unsigned long fd, struct linux_vdirent *ent, unsigned long num, unsigned long *cnt); | ||
97 | extern long prom_open(char *name, enum linux_omode md, unsigned long *fd); | ||
98 | extern long prom_close(unsigned long fd); | ||
99 | extern LONG ArcRead(ULONG fd, PVOID buf, ULONG num, PULONG cnt); | 69 | extern LONG ArcRead(ULONG fd, PVOID buf, ULONG num, PULONG cnt); |
100 | extern long prom_getrstatus(unsigned long fd); | ||
101 | extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt); | 70 | extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt); |
102 | extern long prom_seek(unsigned long fd, struct linux_bigint *off, enum linux_seekmode sm); | ||
103 | extern long prom_mount(char *name, enum linux_mountops op); | ||
104 | extern long prom_getfinfo(unsigned long fd, struct linux_finfo *buf); | ||
105 | extern long prom_setfinfo(unsigned long fd, unsigned long flags, unsigned long msk); | ||
106 | |||
107 | /* Running stand-along programs. */ | ||
108 | extern long prom_load(char *name, unsigned long end, unsigned long *pc, unsigned long *eaddr); | ||
109 | extern long prom_invoke(unsigned long pc, unsigned long sp, long argc, char **argv, char **envp); | ||
110 | extern long prom_exec(char *name, long argc, char **argv, char **envp); | ||
111 | 71 | ||
112 | /* Misc. routines. */ | 72 | /* Misc. routines. */ |
113 | extern VOID prom_halt(VOID) __attribute__((noreturn)); | ||
114 | extern VOID prom_powerdown(VOID) __attribute__((noreturn)); | ||
115 | extern VOID prom_restart(VOID) __attribute__((noreturn)); | ||
116 | extern VOID ArcReboot(VOID) __attribute__((noreturn)); | 73 | extern VOID ArcReboot(VOID) __attribute__((noreturn)); |
117 | extern VOID ArcEnterInteractiveMode(VOID) __attribute__((noreturn)); | 74 | extern VOID ArcEnterInteractiveMode(VOID) __attribute__((noreturn)); |
118 | extern long prom_cfgsave(VOID); | ||
119 | extern struct linux_sysid *prom_getsysid(VOID); | ||
120 | extern VOID ArcFlushAllCaches(VOID); | 75 | extern VOID ArcFlushAllCaches(VOID); |
121 | extern DISPLAY_STATUS *ArcGetDisplayStatus(ULONG FileID); | 76 | extern DISPLAY_STATUS *ArcGetDisplayStatus(ULONG FileID); |
122 | 77 | ||