Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
66680583
Commit
66680583
authored
Feb 13, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] signal: Move sigframe definition for native O32/N64 into signal.c
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
205d84aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
26 deletions
+20
-26
arch/mips/kernel/signal-common.h
arch/mips/kernel/signal-common.h
+0
-26
arch/mips/kernel/signal.c
arch/mips/kernel/signal.c
+20
-0
No files found.
arch/mips/kernel/signal-common.h
View file @
66680583
...
...
@@ -19,32 +19,6 @@
# define DEBUGP(fmt, args...)
#endif
/*
* Horribly complicated - with the bloody RM9000 workarounds enabled
* the signal trampolines is moving to the end of the structure so we can
* increase the alignment without breaking software compatibility.
*/
#if ICACHE_REFILLS_WORKAROUND_WAR == 0
struct
sigframe
{
u32
sf_ass
[
4
];
/* argument save space for o32 */
u32
sf_code
[
2
];
/* signal trampoline */
struct
sigcontext
sf_sc
;
sigset_t
sf_mask
;
};
#else
/* ICACHE_REFILLS_WORKAROUND_WAR */
struct
sigframe
{
u32
sf_ass
[
4
];
/* argument save space for o32 */
u32
sf_pad
[
2
];
struct
sigcontext
sf_sc
;
/* hw context */
sigset_t
sf_mask
;
u32
sf_code
[
8
]
____cacheline_aligned
;
/* signal trampoline */
};
#endif
/* !ICACHE_REFILLS_WORKAROUND_WAR */
/*
* Determine which stack to use..
*/
...
...
arch/mips/kernel/signal.c
View file @
66680583
...
...
@@ -36,8 +36,20 @@
#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/*
* Horribly complicated - with the bloody RM9000 workarounds enabled
* the signal trampolines is moving to the end of the structure so we can
* increase the alignment without breaking software compatibility.
*/
#if ICACHE_REFILLS_WORKAROUND_WAR == 0
struct
sigframe
{
u32
sf_ass
[
4
];
/* argument save space for o32 */
u32
sf_code
[
2
];
/* signal trampoline */
struct
sigcontext
sf_sc
;
sigset_t
sf_mask
;
};
struct
rt_sigframe
{
u32
rs_ass
[
4
];
/* argument save space for o32 */
u32
rs_code
[
2
];
/* signal trampoline */
...
...
@@ -47,6 +59,14 @@ struct rt_sigframe {
#else
struct
sigframe
{
u32
sf_ass
[
4
];
/* argument save space for o32 */
u32
sf_pad
[
2
];
struct
sigcontext
sf_sc
;
/* hw context */
sigset_t
sf_mask
;
u32
sf_code
[
8
]
____cacheline_aligned
;
/* signal trampoline */
};
struct
rt_sigframe
{
u32
rs_ass
[
4
];
/* argument save space for o32 */
u32
rs_pad
[
2
];
...
...
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