Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gsplhtlxg
clone-Linux
提交
3c62a2d3
C
clone-Linux
项目概览
gsplhtlxg
/
clone-Linux
通知
2
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
clone-Linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3c62a2d3
编写于
2月 17, 2008
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[SPARC64]: Always register a PROM based early console.
Signed-off-by:
N
David S. Miller
<
davem@davemloft.net
>
上级
f6095a51
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
11 deletion
+10
-11
arch/sparc64/kernel/prom.c
arch/sparc64/kernel/prom.c
+0
-1
arch/sparc64/kernel/setup.c
arch/sparc64/kernel/setup.c
+7
-7
arch/sparc64/mm/init.c
arch/sparc64/mm/init.c
+3
-3
未找到文件。
arch/sparc64/kernel/prom.c
浏览文件 @
3c62a2d3
...
@@ -1716,7 +1716,6 @@ static void __init of_console_init(void)
...
@@ -1716,7 +1716,6 @@ static void __init of_console_init(void)
of_console_device
=
dp
;
of_console_device
=
dp
;
prom_printf
(
msg
,
of_console_path
);
printk
(
msg
,
of_console_path
);
printk
(
msg
,
of_console_path
);
}
}
...
...
arch/sparc64/kernel/setup.c
浏览文件 @
3c62a2d3
...
@@ -83,10 +83,10 @@ unsigned int boot_flags = 0;
...
@@ -83,10 +83,10 @@ unsigned int boot_flags = 0;
/* Exported for mm/init.c:paging_init. */
/* Exported for mm/init.c:paging_init. */
unsigned
long
cmdline_memory_size
=
0
;
unsigned
long
cmdline_memory_size
=
0
;
static
struct
console
prom_
debug
_console
=
{
static
struct
console
prom_
early
_console
=
{
.
name
=
"
debug
"
,
.
name
=
"
earlyprom
"
,
.
write
=
prom_console_write
,
.
write
=
prom_console_write
,
.
flags
=
CON_PRINTBUFFER
,
.
flags
=
CON_PRINTBUFFER
|
CON_BOOT
,
.
index
=
-
1
,
.
index
=
-
1
,
};
};
...
@@ -112,8 +112,7 @@ static void __init process_switch(char c)
...
@@ -112,8 +112,7 @@ static void __init process_switch(char c)
prom_halt
();
prom_halt
();
break
;
break
;
case
'p'
:
case
'p'
:
/* Use PROM debug console. */
/* Just ignore, this behavior is now the default. */
register_console
(
&
prom_debug_console
);
break
;
break
;
case
'P'
:
case
'P'
:
/* Force UltraSPARC-III P-Cache on. */
/* Force UltraSPARC-III P-Cache on. */
...
@@ -296,6 +295,9 @@ void __init setup_arch(char **cmdline_p)
...
@@ -296,6 +295,9 @@ void __init setup_arch(char **cmdline_p)
*
cmdline_p
=
prom_getbootargs
();
*
cmdline_p
=
prom_getbootargs
();
strcpy
(
boot_command_line
,
*
cmdline_p
);
strcpy
(
boot_command_line
,
*
cmdline_p
);
boot_flags_init
(
*
cmdline_p
);
register_console
(
&
prom_early_console
);
if
(
tlb_type
==
hypervisor
)
if
(
tlb_type
==
hypervisor
)
printk
(
"ARCH: SUN4V
\n
"
);
printk
(
"ARCH: SUN4V
\n
"
);
else
else
...
@@ -307,8 +309,6 @@ void __init setup_arch(char **cmdline_p)
...
@@ -307,8 +309,6 @@ void __init setup_arch(char **cmdline_p)
conswitchp
=
&
prom_con
;
conswitchp
=
&
prom_con
;
#endif
#endif
boot_flags_init
(
*
cmdline_p
);
idprom_init
();
idprom_init
();
if
(
!
root_flags
)
if
(
!
root_flags
)
...
...
arch/sparc64/mm/init.c
浏览文件 @
3c62a2d3
...
@@ -618,9 +618,9 @@ static void __init inherit_prom_mappings(void)
...
@@ -618,9 +618,9 @@ static void __init inherit_prom_mappings(void)
read_obp_translations
();
read_obp_translations
();
/* Now fixup OBP's idea about where we really are mapped. */
/* Now fixup OBP's idea about where we really are mapped. */
pr
om_printf
(
"Remapping the kernel... "
);
pr
intk
(
"Remapping the kernel... "
);
remap_kernel
();
remap_kernel
();
pr
om_printf
(
"done.
\n
"
);
pr
intk
(
"done.
\n
"
);
}
}
void
prom_world
(
int
enter
)
void
prom_world
(
int
enter
)
...
@@ -1414,7 +1414,7 @@ void __init paging_init(void)
...
@@ -1414,7 +1414,7 @@ void __init paging_init(void)
zholes_size
);
zholes_size
);
}
}
pr
om_printf
(
"Booting Linux...
\n
"
);
pr
intk
(
"Booting Linux...
\n
"
);
central_probe
();
central_probe
();
cpu_probe
();
cpu_probe
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录