Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
959f7d58
K
Kernel
项目概览
openeuler
/
Kernel
大约 1 年 前同步成功
通知
7
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看板
提交
959f7d58
编写于
11月 10, 2007
作者:
P
Paul Mundt
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
sh: Move over the SH-5 head.S and tlb.h.
Signed-off-by:
N
Paul Mundt
<
lethal@linux-sh.org
>
上级
256b22ca
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
24 addition
and
44 deletion
+24
-44
arch/sh/kernel/Makefile_32
arch/sh/kernel/Makefile_32
+1
-1
arch/sh/kernel/Makefile_64
arch/sh/kernel/Makefile_64
+1
-1
arch/sh/kernel/head_32.S
arch/sh/kernel/head_32.S
+0
-0
arch/sh/kernel/head_64.S
arch/sh/kernel/head_64.S
+2
-7
include/asm-sh/tlb.h
include/asm-sh/tlb.h
+9
-1
include/asm-sh/tlb_64.h
include/asm-sh/tlb_64.h
+11
-34
未找到文件。
arch/sh/kernel/Makefile_32
浏览文件 @
959f7d58
...
...
@@ -2,7 +2,7 @@
# Makefile for the Linux/SuperH kernel.
#
extra-y := head.o init_task.o vmlinux.lds
extra-y := head
_32
.o init_task.o vmlinux.lds
obj-y := debugtraps.o io.o io_generic.o irq.o machvec.o process_32.o \
ptrace_32.o semaphore.o setup.o signal_32.o sys_sh.o syscalls.o \
...
...
arch/sh/kernel/Makefile_64
浏览文件 @
959f7d58
extra-y := head.o init_task.o vmlinux.lds
extra-y := head
_64
.o init_task.o vmlinux.lds
obj-y := debugtraps.o io.o io_generic.o irq.o machvec.o process_64.o \
ptrace_64.o semaphore.o setup.o signal_64.o sys_sh64.o syscalls.o \
...
...
arch/sh/kernel/head.S
→
arch/sh/kernel/head
_32
.S
浏览文件 @
959f7d58
文件已移动
arch/sh
64/kernel/head
.S
→
arch/sh
/kernel/head_64
.S
浏览文件 @
959f7d58
...
...
@@ -19,14 +19,11 @@
*
lethal
@
linux
-
sh
.
org
:
8
th
May
2004
*
Add
early
SCIF
console
DTLB
mapping
.
*/
#include <asm/page.h>
#include <asm/mmu_context.h>
#include <asm/cache.h>
#include <asm/tlb.h>
#include <asm/
processor
.h>
#include <asm/
registers
.h>
#include <asm/
cpu/registers
.h>
#include <asm/
cpu/mmu_context
.h>
#include <asm/thread_info.h>
/*
...
...
@@ -368,5 +365,3 @@ hopeless:
*
(
r32
)
_start_kernel
address
*/
blink
tr7
,
ZERO
include/asm-sh/tlb.h
浏览文件 @
959f7d58
#ifndef __ASM_SH_TLB_H
#define __ASM_SH_TLB_H
#ifdef CONFIG_SUPERH64
# include "tlb_64.h"
#endif
#ifndef __ASSEMBLY__
#define tlb_start_vma(tlb, vma) \
flush_cache_range(vma, vma->vm_start, vma->vm_end)
...
...
@@ -15,4 +21,6 @@
#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
#include <asm-generic/tlb.h>
#endif
#endif
/* __ASSEMBLY__ */
#endif
/* __ASM_SH_TLB_H */
include/asm-sh
64/tlb
.h
→
include/asm-sh
/tlb_64
.h
浏览文件 @
959f7d58
/*
* include/asm-sh
64/tlb
.h
* include/asm-sh
/tlb_64
.h
*
* Copyright (C) 2003 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
*/
#ifndef __ASM_SH64_TLB_H
#define __ASM_SH64_TLB_H
/*
* Note! These are mostly unused, we just need the xTLB_LAST_VAR_UNRESTRICTED
* for head.S! Once this limitation is gone, we can clean the rest of this up.
*/
#ifndef __ASM_SH_TLB_64_H
#define __ASM_SH_TLB_64_H
/* ITLB defines */
#define ITLB_FIXED 0x00000000
/* First fixed ITLB, see head.S */
...
...
@@ -63,30 +57,13 @@ static inline void __flush_tlb_slot(unsigned long long slot)
}
/* arch/sh64/mm/tlb.c */
extern
int
sh64_tlb_init
(
void
);
extern
unsigned
long
long
sh64_next_free_dtlb_entry
(
void
);
extern
unsigned
long
long
sh64_get_wired_dtlb_entry
(
void
);
extern
int
sh64_put_wired_dtlb_entry
(
unsigned
long
long
entry
);
extern
void
sh64_setup_tlb_slot
(
unsigned
long
long
config_addr
,
unsigned
long
eaddr
,
unsigned
long
asid
,
unsigned
long
paddr
);
extern
void
sh64_teardown_tlb_slot
(
unsigned
long
long
config_addr
);
#define tlb_start_vma(tlb, vma) \
flush_cache_range(vma, vma->vm_start, vma->vm_end)
#define tlb_end_vma(tlb, vma) \
flush_tlb_range(vma, vma->vm_start, vma->vm_end)
#define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
/*
* Flush whole TLBs for MM
*/
#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
#include <asm-generic/tlb.h>
int
sh64_tlb_init
(
void
);
unsigned
long
long
sh64_next_free_dtlb_entry
(
void
);
unsigned
long
long
sh64_get_wired_dtlb_entry
(
void
);
int
sh64_put_wired_dtlb_entry
(
unsigned
long
long
entry
);
void
sh64_setup_tlb_slot
(
unsigned
long
long
config_addr
,
unsigned
long
eaddr
,
unsigned
long
asid
,
unsigned
long
paddr
);
void
sh64_teardown_tlb_slot
(
unsigned
long
long
config_addr
);
#endif
/* __ASSEMBLY__ */
#endif
/* __ASM_SH64_TLB_H */
#endif
/* __ASM_SH_TLB_64_H */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录