Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
7786962b
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
7786962b
编写于
10月 01, 2007
作者:
P
Paul Mundt
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
sh64: mach-harp: Build fixes.
Get the ST50-HARP building again. Signed-off-by:
N
Paul Mundt
<
lethal@linux-sh.org
>
上级
ced238f3
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
8 addition
and
30 deletion
+8
-30
arch/sh64/mach-harp/Makefile
arch/sh64/mach-harp/Makefile
+0
-13
arch/sh64/mach-harp/setup.c
arch/sh64/mach-harp/setup.c
+8
-17
未找到文件。
arch/sh64/mach-harp/Makefile
浏览文件 @
7786962b
#
# Makefile for the ST50 Harp specific parts of the kernel
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
O_TARGET
:=
harp.o
obj-y
:=
setup.o
include
$(TOPDIR)/Rules.make
arch/sh64/mach-harp/setup.c
浏览文件 @
7786962b
...
...
@@ -17,20 +17,10 @@
* lethal@linux-sh.org: 15th May 2003
* Use the generic procfs cpuinfo interface, just return a valid board name.
*/
#include <linux/stddef.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/bootmem.h>
#include <linux/delay.h>
#include <linux/kernel.h>
#include <asm/processor.h>
#include <asm/platform.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/page.h>
#define RES_COUNT(res) ((sizeof((res))/sizeof(struct resource)))
/*
* Platform Dependent Interrupt Priorities.
...
...
@@ -78,8 +68,10 @@ struct resource io_resources[] = {
};
struct
resource
kram_resources
[]
=
{
{
"Kernel code"
,
0
,
0
},
/* These must be last in the array */
{
"Kernel data"
,
0
,
0
}
/* These must be last in the array */
/* These must be last in the array */
{
.
name
=
"Kernel code"
,
.
start
=
0
,
.
end
=
0
},
/* These must be last in the array */
{
.
name
=
"Kernel data"
,
.
start
=
0
,
.
end
=
0
}
};
struct
resource
xram_resources
[]
=
{
...
...
@@ -95,13 +87,13 @@ struct sh64_platform platform_parms = {
.
initial_root_dev
=
0x0100
,
.
loader_type
=
1
,
.
io_res_p
=
io_resources
,
.
io_res_count
=
RES_COUNT
(
io_resources
),
.
io_res_count
=
ARRAY_SIZE
(
io_resources
),
.
kram_res_p
=
kram_resources
,
.
kram_res_count
=
RES_COUNT
(
kram_resources
),
.
kram_res_count
=
ARRAY_SIZE
(
kram_resources
),
.
xram_res_p
=
xram_resources
,
.
xram_res_count
=
RES_COUNT
(
xram_resources
),
.
xram_res_count
=
ARRAY_SIZE
(
xram_resources
),
.
rom_res_p
=
rom_resources
,
.
rom_res_count
=
RES_COUNT
(
rom_resources
),
.
rom_res_count
=
ARRAY_SIZE
(
rom_resources
),
};
int
platform_int_priority
[
NR_INTC_IRQS
]
=
{
...
...
@@ -135,4 +127,3 @@ const char *get_system_type(void)
{
return
"ST50 Harp"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录