Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
d6c662d4
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
d6c662d4
编写于
2月 10, 2006
作者:
L
Linus Torvalds
浏览文件
操作
浏览文件
下载
差异文件
Merge
git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge
上级
21b4da78
00adbf62
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
72 addition
and
290 deletion
+72
-290
Documentation/powerpc/booting-without-of.txt
Documentation/powerpc/booting-without-of.txt
+59
-1
arch/powerpc/Kconfig
arch/powerpc/Kconfig
+6
-0
arch/powerpc/Makefile
arch/powerpc/Makefile
+1
-0
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/Makefile
+3
-3
arch/powerpc/kernel/systbl.S
arch/powerpc/kernel/systbl.S
+1
-2
arch/ppc/kernel/misc.S
arch/ppc/kernel/misc.S
+0
-283
include/asm-powerpc/unistd.h
include/asm-powerpc/unistd.h
+2
-1
未找到文件。
Documentation/powerpc/booting-without-of.txt
浏览文件 @
d6c662d4
...
...
@@ -44,7 +44,6 @@
compiler and the textural representation of
the tree that can be "compiled" by dtc.
November 21, 2005: Rev 0.5
- Additions/generalizations for 32-bit
- Changed to reflect the new arch/powerpc
...
...
@@ -1307,6 +1306,65 @@ platforms are moved over to use the flattened-device-tree model.
};
f) Freescale SOC USB controllers
The device node for a USB controller that is part of a Freescale
SOC is as described in the document "Open Firmware Recommended
Practice : Universal Serial Bus" with the following modifications
and additions :
Required properties :
- compatible : Should be "fsl-usb2-mph" for multi port host usb
controllers, or "fsl-usb2-dr" for dual role usb controllers
- phy_type : For multi port host usb controllers, should be one of
"ulpi", or "serial". For dual role usb controllers, should be
one of "ulpi", "utmi", "utmi_wide", or "serial".
- reg : Offset and length of the register set for the device
- port0 : boolean; if defined, indicates port0 is connected for
fsl-usb2-mph compatible controllers. Either this property or
"port1" (or both) must be defined for "fsl-usb2-mph" compatible
controllers.
- port1 : boolean; if defined, indicates port1 is connected for
fsl-usb2-mph compatible controllers. Either this property or
"port0" (or both) must be defined for "fsl-usb2-mph" compatible
controllers.
Recommended properties :
- interrupts : <a b> where a is the interrupt number and b is a
field that represents an encoding of the sense and level
information for the interrupt. This should be encoded based on
the information in section 2) depending on the type of interrupt
controller you have.
- interrupt-parent : the phandle for the interrupt controller that
services interrupts for this device.
Example multi port host usb controller device node :
usb@22000 {
device_type = "usb";
compatible = "fsl-usb2-mph";
reg = <22000 1000>;
#address-cells = <1>;
#size-cells = <0>;
interrupt-parent = <700>;
interrupts = <27 1>;
phy_type = "ulpi";
port0;
port1;
};
Example dual role usb controller device node :
usb@23000 {
device_type = "usb";
compatible = "fsl-usb2-dr";
reg = <23000 1000>;
#address-cells = <1>;
#size-cells = <0>;
interrupt-parent = <700>;
interrupts = <26 1>;
phy = "ulpi";
};
More devices will be defined as this spec matures.
...
...
arch/powerpc/Kconfig
浏览文件 @
d6c662d4
...
...
@@ -83,6 +83,12 @@ config GENERIC_TBSYNC
default y if PPC32 && SMP
default n
config DEFAULT_UIMAGE
bool
help
Used to allow a board to specify it wants a uImage built by default
default n
menu "Processor support"
choice
prompt "Processor Type"
...
...
arch/powerpc/Makefile
浏览文件 @
d6c662d4
...
...
@@ -142,6 +142,7 @@ drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/
# Default to zImage, override when needed
defaultimage-y
:=
zImage
defaultimage-$(CONFIG_PPC_ISERIES)
:=
vmlinux
defaultimage-$(CONFIG_DEFAULT_UIMAGE)
:=
uImage
KBUILD_IMAGE
:=
$
(
defaultimage-y
)
all
:
$(KBUILD_IMAGE)
...
...
arch/powerpc/kernel/Makefile
浏览文件 @
d6c662d4
...
...
@@ -12,10 +12,10 @@ endif
obj-y
:=
semaphore.o cputable.o ptrace.o syscalls.o
\
irq.o align.o signal_32.o pmc.o vdso.o
\
init_task.o process.o
init_task.o process.o
systbl.o
obj-y
+=
vdso32/
obj-$(CONFIG_PPC64)
+=
setup_64.o binfmt_elf32.o sys_ppc32.o
\
signal_64.o ptrace32.o
systbl.o
\
signal_64.o ptrace32.o
\
paca.o cpu_setup_power4.o
\
firmware.o sysfs.o idle_64.o
obj-$(CONFIG_PPC64)
+=
vdso64/
...
...
@@ -46,7 +46,7 @@ extra-$(CONFIG_8xx) := head_8xx.o
extra-y
+=
vmlinux.lds
obj-y
+=
time.o prom.o traps.o setup-common.o udbg.o
obj-$(CONFIG_PPC32)
+=
entry_32.o setup_32.o misc_32.o
systbl.o
obj-$(CONFIG_PPC32)
+=
entry_32.o setup_32.o misc_32.o
obj-$(CONFIG_PPC64)
+=
misc_64.o dma_64.o iommu.o
obj-$(CONFIG_PPC_MULTIPLATFORM)
+=
prom_init.o
obj-$(CONFIG_MODULES)
+=
ppc_ksyms.o
...
...
arch/powerpc/kernel/systbl.S
浏览文件 @
d6c662d4
...
...
@@ -36,8 +36,6 @@
#ifdef CONFIG_PPC64
#define sys_sigpending sys_ni_syscall
#define sys_old_getrlimit sys_ni_syscall
#else
#define ppc_rtas sys_ni_syscall
#endif
_GLOBAL
(
sys_call_table
)
...
...
@@ -323,3 +321,4 @@ SYSCALL(spu_run)
SYSCALL
(
spu_create
)
COMPAT_SYS
(
pselect6
)
COMPAT_SYS
(
ppoll
)
SYSCALL
(
unshare
)
arch/ppc/kernel/misc.S
浏览文件 @
d6c662d4
...
...
@@ -1048,286 +1048,3 @@ _GLOBAL(name) \
blr
SYSCALL
(
execve
)
/*
Why
isn
't this a) automatic, b) written in '
C
'? */
.
data
.
align
4
_GLOBAL
(
sys_call_table
)
.
long
sys_restart_syscall
/*
0
*/
.
long
sys_exit
.
long
ppc_fork
.
long
sys_read
.
long
sys_write
.
long
sys_open
/*
5
*/
.
long
sys_close
.
long
sys_waitpid
.
long
sys_creat
.
long
sys_link
.
long
sys_unlink
/*
10
*/
.
long
sys_execve
.
long
sys_chdir
.
long
sys_time
.
long
sys_mknod
.
long
sys_chmod
/*
15
*/
.
long
sys_lchown
.
long
sys_ni_syscall
/*
old
break
syscall
holder
*/
.
long
sys_stat
.
long
sys_lseek
.
long
sys_getpid
/*
20
*/
.
long
sys_mount
.
long
sys_oldumount
.
long
sys_setuid
.
long
sys_getuid
.
long
sys_stime
/*
25
*/
.
long
sys_ptrace
.
long
sys_alarm
.
long
sys_fstat
.
long
sys_pause
.
long
sys_utime
/*
30
*/
.
long
sys_ni_syscall
/*
old
stty
syscall
holder
*/
.
long
sys_ni_syscall
/*
old
gtty
syscall
holder
*/
.
long
sys_access
.
long
sys_nice
.
long
sys_ni_syscall
/*
35
*/
/*
old
ftime
syscall
holder
*/
.
long
sys_sync
.
long
sys_kill
.
long
sys_rename
.
long
sys_mkdir
.
long
sys_rmdir
/*
40
*/
.
long
sys_dup
.
long
sys_pipe
.
long
sys_times
.
long
sys_ni_syscall
/*
old
prof
syscall
holder
*/
.
long
sys_brk
/*
45
*/
.
long
sys_setgid
.
long
sys_getgid
.
long
sys_signal
.
long
sys_geteuid
.
long
sys_getegid
/*
50
*/
.
long
sys_acct
.
long
sys_umount
/*
recycled
never
used
phys
()
*/
.
long
sys_ni_syscall
/*
old
lock
syscall
holder
*/
.
long
sys_ioctl
.
long
sys_fcntl
/*
55
*/
.
long
sys_ni_syscall
/*
old
mpx
syscall
holder
*/
.
long
sys_setpgid
.
long
sys_ni_syscall
/*
old
ulimit
syscall
holder
*/
.
long
sys_olduname
.
long
sys_umask
/*
60
*/
.
long
sys_chroot
.
long
sys_ustat
.
long
sys_dup2
.
long
sys_getppid
.
long
sys_getpgrp
/*
65
*/
.
long
sys_setsid
.
long
sys_sigaction
.
long
sys_sgetmask
.
long
sys_ssetmask
.
long
sys_setreuid
/*
70
*/
.
long
sys_setregid
.
long
sys_sigsuspend
.
long
sys_sigpending
.
long
sys_sethostname
.
long
sys_setrlimit
/*
75
*/
.
long
sys_old_getrlimit
.
long
sys_getrusage
.
long
sys_gettimeofday
.
long
sys_settimeofday
.
long
sys_getgroups
/*
80
*/
.
long
sys_setgroups
.
long
ppc_select
.
long
sys_symlink
.
long
sys_lstat
.
long
sys_readlink
/*
85
*/
.
long
sys_uselib
.
long
sys_swapon
.
long
sys_reboot
.
long
old_readdir
.
long
sys_mmap
/*
90
*/
.
long
sys_munmap
.
long
sys_truncate
.
long
sys_ftruncate
.
long
sys_fchmod
.
long
sys_fchown
/*
95
*/
.
long
sys_getpriority
.
long
sys_setpriority
.
long
sys_ni_syscall
/*
old
profil
syscall
holder
*/
.
long
sys_statfs
.
long
sys_fstatfs
/*
100
*/
.
long
sys_ni_syscall
.
long
sys_socketcall
.
long
sys_syslog
.
long
sys_setitimer
.
long
sys_getitimer
/*
105
*/
.
long
sys_newstat
.
long
sys_newlstat
.
long
sys_newfstat
.
long
sys_uname
.
long
sys_ni_syscall
/*
110
*/
.
long
sys_vhangup
.
long
sys_ni_syscall
/*
old
'idle'
syscall
*/
.
long
sys_ni_syscall
.
long
sys_wait4
.
long
sys_swapoff
/*
115
*/
.
long
sys_sysinfo
.
long
sys_ipc
.
long
sys_fsync
.
long
sys_sigreturn
.
long
ppc_clone
/*
120
*/
.
long
sys_setdomainname
.
long
sys_newuname
.
long
sys_ni_syscall
.
long
sys_adjtimex
.
long
sys_mprotect
/*
125
*/
.
long
sys_sigprocmask
.
long
sys_ni_syscall
/*
old
sys_create_module
*/
.
long
sys_init_module
.
long
sys_delete_module
.
long
sys_ni_syscall
/*
old
sys_get_kernel_syms
*/
/*
130
*/
.
long
sys_quotactl
.
long
sys_getpgid
.
long
sys_fchdir
.
long
sys_bdflush
.
long
sys_sysfs
/*
135
*/
.
long
sys_personality
.
long
sys_ni_syscall
/*
for
afs_syscall
*/
.
long
sys_setfsuid
.
long
sys_setfsgid
.
long
sys_llseek
/*
140
*/
.
long
sys_getdents
.
long
ppc_select
.
long
sys_flock
.
long
sys_msync
.
long
sys_readv
/*
145
*/
.
long
sys_writev
.
long
sys_getsid
.
long
sys_fdatasync
.
long
sys_sysctl
.
long
sys_mlock
/*
150
*/
.
long
sys_munlock
.
long
sys_mlockall
.
long
sys_munlockall
.
long
sys_sched_setparam
.
long
sys_sched_getparam
/*
155
*/
.
long
sys_sched_setscheduler
.
long
sys_sched_getscheduler
.
long
sys_sched_yield
.
long
sys_sched_get_priority_max
.
long
sys_sched_get_priority_min
/*
160
*/
.
long
sys_sched_rr_get_interval
.
long
sys_nanosleep
.
long
sys_mremap
.
long
sys_setresuid
.
long
sys_getresuid
/*
165
*/
.
long
sys_ni_syscall
/*
old
sys_query_module
*/
.
long
sys_poll
.
long
sys_nfsservctl
.
long
sys_setresgid
.
long
sys_getresgid
/*
170
*/
.
long
sys_prctl
.
long
sys_rt_sigreturn
.
long
sys_rt_sigaction
.
long
sys_rt_sigprocmask
.
long
sys_rt_sigpending
/*
175
*/
.
long
sys_rt_sigtimedwait
.
long
sys_rt_sigqueueinfo
.
long
sys_rt_sigsuspend
.
long
sys_pread64
.
long
sys_pwrite64
/*
180
*/
.
long
sys_chown
.
long
sys_getcwd
.
long
sys_capget
.
long
sys_capset
.
long
sys_sigaltstack
/*
185
*/
.
long
sys_sendfile
.
long
sys_ni_syscall
/*
streams1
*/
.
long
sys_ni_syscall
/*
streams2
*/
.
long
ppc_vfork
.
long
sys_getrlimit
/*
190
*/
.
long
sys_readahead
.
long
sys_mmap2
.
long
sys_truncate64
.
long
sys_ftruncate64
.
long
sys_stat64
/*
195
*/
.
long
sys_lstat64
.
long
sys_fstat64
.
long
sys_pciconfig_read
.
long
sys_pciconfig_write
.
long
sys_pciconfig_iobase
/*
200
*/
.
long
sys_ni_syscall
/*
201
-
reserved
-
MacOnLinux
-
new
*/
.
long
sys_getdents64
.
long
sys_pivot_root
.
long
sys_fcntl64
.
long
sys_madvise
/*
205
*/
.
long
sys_mincore
.
long
sys_gettid
.
long
sys_tkill
.
long
sys_setxattr
.
long
sys_lsetxattr
/*
210
*/
.
long
sys_fsetxattr
.
long
sys_getxattr
.
long
sys_lgetxattr
.
long
sys_fgetxattr
.
long
sys_listxattr
/*
215
*/
.
long
sys_llistxattr
.
long
sys_flistxattr
.
long
sys_removexattr
.
long
sys_lremovexattr
.
long
sys_fremovexattr
/*
220
*/
.
long
sys_futex
.
long
sys_sched_setaffinity
.
long
sys_sched_getaffinity
.
long
sys_ni_syscall
.
long
sys_ni_syscall
/*
225
-
reserved
for
Tux
*/
.
long
sys_sendfile64
.
long
sys_io_setup
.
long
sys_io_destroy
.
long
sys_io_getevents
.
long
sys_io_submit
/*
230
*/
.
long
sys_io_cancel
.
long
sys_set_tid_address
.
long
sys_fadvise64
.
long
sys_exit_group
.
long
sys_lookup_dcookie
/*
235
*/
.
long
sys_epoll_create
.
long
sys_epoll_ctl
.
long
sys_epoll_wait
.
long
sys_remap_file_pages
.
long
sys_timer_create
/*
240
*/
.
long
sys_timer_settime
.
long
sys_timer_gettime
.
long
sys_timer_getoverrun
.
long
sys_timer_delete
.
long
sys_clock_settime
/*
245
*/
.
long
sys_clock_gettime
.
long
sys_clock_getres
.
long
sys_clock_nanosleep
.
long
sys_swapcontext
.
long
sys_tgkill
/*
250
*/
.
long
sys_utimes
.
long
sys_statfs64
.
long
sys_fstatfs64
.
long
ppc_fadvise64_64
.
long
sys_ni_syscall
/*
255
-
rtas
(
used
on
ppc64
)
*/
.
long
sys_debug_setcontext
.
long
sys_ni_syscall
/*
257
reserved
for
vserver
*/
.
long
sys_ni_syscall
/*
258
reserved
for
new
sys_remap_file_pages
*/
.
long
sys_ni_syscall
/*
259
reserved
for
new
sys_mbind
*/
.
long
sys_ni_syscall
/*
260
reserved
for
new
sys_get_mempolicy
*/
.
long
sys_ni_syscall
/*
261
reserved
for
new
sys_set_mempolicy
*/
.
long
sys_mq_open
.
long
sys_mq_unlink
.
long
sys_mq_timedsend
.
long
sys_mq_timedreceive
/*
265
*/
.
long
sys_mq_notify
.
long
sys_mq_getsetattr
.
long
sys_kexec_load
.
long
sys_add_key
.
long
sys_request_key
/*
270
*/
.
long
sys_keyctl
.
long
sys_waitid
.
long
sys_ioprio_set
.
long
sys_ioprio_get
.
long
sys_inotify_init
/*
275
*/
.
long
sys_inotify_add_watch
.
long
sys_inotify_rm_watch
include/asm-powerpc/unistd.h
浏览文件 @
d6c662d4
...
...
@@ -300,8 +300,9 @@
#define __NR_spu_create 279
#define __NR_pselect6 280
#define __NR_ppoll 281
#define __NR_unshare 282
#define __NR_syscalls 28
2
#define __NR_syscalls 28
3
#ifdef __KERNEL__
#define __NR__exit __NR_exit
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录