10 #include <linux/kernel.h>
13 #include <linux/string.h>
18 #define SHADOW_CONSOLE_START (CONFIG_PHY_RAM_BASE_ADDRESS + 0x500)
19 #define SHADOW_CONSOLE_END (CONFIG_PHY_RAM_BASE_ADDRESS + 0x1000)
20 #define SHADOW_CONSOLE_MAGIC_LOC (CONFIG_PHY_RAM_BASE_ADDRESS + 0x4F0)
21 #define SHADOW_CONSOLE_MAGIC (0xDEADBEEF)
35 for (i = 0; i <=
n; i++)
36 shadow_console_buffer[i] = s[i];
37 shadow_console_buffer +=
n;
38 shadow_console_buffer[0] = 0;
39 shadow_console_buffer[1] = 0;
45 .name =
"early_shadow",
73 static __init int disable_shadow_console(
void)
99 char ascii[11] =
" 0x";
102 reg = reg << ((8 -
n) * 4);
105 for (i = 3; i <=
n ; i++) {