Whoops, missed one. Another 55 lines gone.
[linux-2.6/linux-mips.git] / include / asm-mips / mips-boards / prom.h
blob78bdc2c76be2c4452e632853f9e2e64da422d4a7
1 /*
2 * Carsten Langgaard, carstenl@mips.com
3 * Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved.
5 * This program is free software; you can distribute it and/or modify it
6 * under the terms of the GNU General Public License (Version 2) as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
18 * MIPS boards bootprom interface for the Linux kernel.
20 #ifndef _ASM_MIPS_BOARDS_PROM_H
21 #define _ASM_MIPS_BOARDS_PROM_H
23 extern char *prom_getcmdline(void);
24 extern char *prom_getenv(char *name);
25 extern void setup_prom_printf(int tty_no);
26 extern void prom_printf(char *fmt, ...);
27 extern void prom_init_cmdline(void);
28 extern void prom_meminit(void);
29 extern void prom_fixup_mem_map(unsigned long start_mem, unsigned long end_mem);
30 extern void prom_free_prom_memory (void);
31 extern void mips_display_message(const char *str);
32 extern void mips_display_word(unsigned int num);
33 extern int get_ethernet_addr(char *ethernet_addr);
35 /* Memory descriptor management. */
36 #define PROM_MAX_PMEMBLOCKS 32
37 struct prom_pmemblock {
38 unsigned long base; /* Phys addr. */
39 unsigned int size; /* In bytes. */
40 unsigned int type; /* free or prom memory */
43 #endif /* _ASM_MIPS_BOARDS_PROM_H */