2 * Carsten Langgaard, carstenl@mips.com
3 * Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved.
5 * ########################################################################
7 * This program is free software; you can distribute it and/or modify it
8 * under the terms of the GNU General Public License (Version 2) as
9 * published by the Free Software Foundation.
11 * This program is distributed in the hope it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
20 * ########################################################################
22 * MIPS boards bootprom interface for the Linux kernel.
25 /************************************************************************
28 * Infineon Technologies AG
29 * St. Martin Strasse 53; 81669 Muenchen; Germany
31 ************************************************************************/
35 extern char *prom_getcmdline(void);
36 extern char *prom_getenv(char *name
);
37 extern void setup_prom_printf(int tty_no
);
38 extern void prom_printf(char *fmt
, ...);
39 extern void prom_init_cmdline(void);
40 extern void prom_meminit(void);
41 extern void prom_fixup_mem_map(unsigned long start_mem
, unsigned long end_mem
);
42 extern void prom_free_prom_memory (void);
43 extern void mips_display_message(const char *str
);
44 extern void mips_display_word(unsigned int num
);
45 extern int get_ethernet_addr(char *ethernet_addr
);
47 /* Memory descriptor management. */
48 #define PROM_MAX_PMEMBLOCKS 32
49 struct prom_pmemblock
{
50 unsigned long base
; /* Within KSEG0. */
51 unsigned int size
; /* In bytes. */
52 unsigned int type
; /* free or prom memory */
55 #endif /* !(_MIPS_PROM_H) */
This page took 0.046421 seconds and 5 git commands to generate.