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
5adb83c2
Commit
5adb83c2
authored
Nov 03, 2005
by
Stephen Rothwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powerpc: merge ucontext.h
Signed-off-by:
Stephen Rothwell
<
sfr@canb.auug.org.au
>
parent
608f8b3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
22 deletions
+40
-22
include/asm-powerpc/ucontext.h
include/asm-powerpc/ucontext.h
+40
-0
include/asm-ppc64/ucontext.h
include/asm-ppc64/ucontext.h
+0
-22
No files found.
include/asm-ppc/ucontext.h
→
include/asm-p
ower
pc/ucontext.h
View file @
5adb83c2
#ifndef _ASM
P
PC_UCONTEXT_H
#define _ASM
P
PC_UCONTEXT_H
#ifndef _ASM
_POWER
PC_UCONTEXT_H
#define _ASM
_POWER
PC_UCONTEXT_H
#ifdef __powerpc64__
#include <asm/sigcontext.h>
#else
#include <asm/elf.h>
#endif
#include <asm/signal.h>
#ifndef __powerpc64__
struct
mcontext
{
elf_gregset_t
mc_gregs
;
elf_fpregset_t
mc_fregs
;
unsigned
long
mc_pad
[
2
];
elf_vrregset_t
mc_vregs
__attribute__
((
__aligned__
(
16
)));
};
#endif
struct
ucontext
{
unsigned
long
uc_flags
;
unsigned
long
uc_flags
;
struct
ucontext
__user
*
uc_link
;
stack_t
uc_stack
;
int
uc_pad
[
7
];
stack_t
uc_stack
;
#ifndef __powerpc64__
int
uc_pad
[
7
];
struct
mcontext
__user
*
uc_regs
;
/* points to uc_mcontext field */
sigset_t
uc_sigmask
;
#endif
sigset_t
uc_sigmask
;
/* glibc has 1024-bit signal masks, ours are 64-bit */
int
uc_maskext
[
30
];
int
uc_pad2
[
3
];
struct
mcontext
uc_mcontext
;
#ifdef __powerpc64__
sigset_t
__unused
[
15
];
/* Allow for uc_sigmask growth */
struct
sigcontext
uc_mcontext
;
/* last for extensibility */
#else
int
uc_maskext
[
30
];
int
uc_pad2
[
3
];
struct
mcontext
uc_mcontext
;
#endif
};
#endif
/*
!_ASMP
PC_UCONTEXT_H */
#endif
/*
_ASM_POWER
PC_UCONTEXT_H */
include/asm-ppc64/ucontext.h
deleted
100644 → 0
View file @
608f8b3c
#ifndef _ASMPPC64_UCONTEXT_H
#define _ASMPPC64_UCONTEXT_H
#include <asm/sigcontext.h>
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
struct
ucontext
{
unsigned
long
uc_flags
;
struct
ucontext
*
uc_link
;
stack_t
uc_stack
;
sigset_t
uc_sigmask
;
sigset_t
__unsued
[
15
];
/* Allow for uc_sigmask growth */
struct
sigcontext
uc_mcontext
;
/* last for extensibility */
};
#endif
/* _ASMPPC64_UCONTEXT_H */
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