Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
f7a7b153
Commit
f7a7b153
authored
17 years ago
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Move in the
SH-5
signal trampoline impl.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
76168c21
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
5 deletions
+22
-5
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/signal_32.c
arch/sh/kernel/signal_32.c
+0
-0
arch/sh/kernel/signal_64.c
arch/sh/kernel/signal_64.c
+7
-3
include/asm-sh/sigcontext.h
include/asm-sh/sigcontext.h
+13
-0
No files found.
arch/sh/kernel/Makefile_32
View file @
f7a7b153
...
...
@@ -5,7 +5,7 @@
extra-y := head.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.o sys_sh.o syscalls.o \
ptrace_32.o semaphore.o setup.o signal
_32
.o sys_sh.o syscalls.o \
time.o topology.o traps.o
obj-y += cpu/ timers/
...
...
This diff is collapsed.
Click to expand it.
arch/sh/kernel/Makefile_64
View file @
f7a7b153
extra-y := head.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.o sys_sh.o syscalls.o \
ptrace_64.o semaphore.o setup.o signal
_64
.o sys_sh.o syscalls.o \
time.o topology.o traps.o
obj-y += cpu/ timers/
...
...
This diff is collapsed.
Click to expand it.
arch/sh/kernel/signal.c
→
arch/sh/kernel/signal
_32
.c
View file @
f7a7b153
File moved
This diff is collapsed.
Click to expand it.
arch/sh
64/kernel/signal
.c
→
arch/sh
/kernel/signal_64
.c
View file @
f7a7b153
...
...
@@ -28,7 +28,7 @@
#include <asm/ucontext.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/cacheflush.h>
#define REG_RET 9
#define REG_ARG1 2
...
...
@@ -227,10 +227,14 @@ setup_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc)
#else
static
inline
int
restore_sigcontext_fpu
(
struct
pt_regs
*
regs
,
struct
sigcontext
__user
*
sc
)
{}
{
return
0
;
}
static
inline
int
setup_sigcontext_fpu
(
struct
pt_regs
*
regs
,
struct
sigcontext
__user
*
sc
)
{}
{
return
0
;
}
#endif
static
int
...
...
This diff is collapsed.
Click to expand it.
include/asm-sh/sigcontext.h
View file @
f7a7b153
...
...
@@ -4,6 +4,18 @@
struct
sigcontext
{
unsigned
long
oldmask
;
#if defined(__SH5__) || defined(CONFIG_CPU_SH5)
/* CPU registers */
unsigned
long
long
sc_regs
[
63
];
unsigned
long
long
sc_tregs
[
8
];
unsigned
long
long
sc_pc
;
unsigned
long
long
sc_sr
;
/* FPU registers */
unsigned
long
long
sc_fpregs
[
32
];
unsigned
int
sc_fpscr
;
unsigned
int
sc_fpvalid
;
#else
/* CPU registers */
unsigned
long
sc_regs
[
16
];
unsigned
long
sc_pc
;
...
...
@@ -21,6 +33,7 @@ struct sigcontext {
unsigned
int
sc_fpul
;
unsigned
int
sc_ownedfp
;
#endif
#endif
};
#endif
/* __ASM_SH_SIGCONTEXT_H */
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment