Go to the documentation of this file.
4 #include <linux/types.h>
6 #include <linux/string.h>
7 #include <linux/ctype.h>
8 #include <linux/kernel.h>
12 #include <asm/bootinfo.h>
20 #define RESET_VECTOR 0xbfc00000
21 #define PROM_JUMP_TABLE_ENTRY(n) (*((u32 *)(RESET_VECTOR + 0x20) + n))
22 #define PROM_DISPLAY_ADDR PROM_JUMP_TABLE_ENTRY(0)
23 #define PROM_PUTC_ADDR PROM_JUMP_TABLE_ENTRY(1)
24 #define PROM_MONITOR_ADDR PROM_JUMP_TABLE_ENTRY(2)
26 static void null_prom_display(
const char *
string,
int pos,
int clear)
30 static void null_prom_monitor(
void)
34 static void null_prom_putc(
char c)
39 static void (*__prom_putc)(
char c) = null_prom_putc;
52 static void setup_prom_vectors(
void)
85 char **argv = (
char **)
fw_arg1;
92 at93c = &at93c_defs[1];
96 at93c = &at93c_defs[0];
108 set_io_port_base(
KSEG1);