Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
20ea3a2d
Commit
20ea3a2d
authored
Jul 21, 2003
by
Marcus Meissner
Committed by
Alexandre Julliard
Jul 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing register defines for Linux/PPC.
parent
89321f49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
signal_powerpc.c
dlls/ntdll/signal_powerpc.c
+9
-10
No files found.
dlls/ntdll/signal_powerpc.c
View file @
20ea3a2d
...
@@ -67,7 +67,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(seh);
...
@@ -67,7 +67,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(seh);
* signal context platform-specific definitions
* signal context platform-specific definitions
*/
*/
#ifdef linux
#ifdef linux
# warning Please define registers for your platform linux ppc some are missing
typedef
struct
ucontext
SIGCONTEXT
;
typedef
struct
ucontext
SIGCONTEXT
;
...
@@ -79,25 +78,25 @@ typedef struct ucontext SIGCONTEXT;
...
@@ -79,25 +78,25 @@ typedef struct ucontext SIGCONTEXT;
/* Gpr Registers access */
/* Gpr Registers access */
# define GPR_sig(reg_num, context) REG_sig(
r##reg_num
, context)
# define GPR_sig(reg_num, context) REG_sig(
gpr[reg_num]
, context)
# define IAR_sig(context) REG_sig(nip, context)
/* Program counter */
# define IAR_sig(context) REG_sig(nip, context)
/* Program counter */
# define MSR_sig(context) REG_sig(msr, context)
/* Machine State Register (Supervisor) */
# define MSR_sig(context) REG_sig(msr, context)
/* Machine State Register (Supervisor) */
# define CTR_sig(context) REG_sig(ctr, context)
/* Count register */
# define CTR_sig(context) REG_sig(ctr, context)
/* Count register */
# define XER_sig(context)
XER_sig not defined on your platform
/* Link
register */
# define XER_sig(context)
REG_sig(xer, context)
/* User's integer exception
register */
# define LR_sig(context)
LR_sig not defined on your platform
/* User's integer exception
register */
# define LR_sig(context)
REG_sig(link, context)
/* Link
register */
# define CR_sig(context)
CR_sig not defined on your platform
/* Condition register */
# define CR_sig(context)
REG_sig(ccr, context)
/* Condition register */
/* Float Registers access */
/* Float Registers access */
# define FLOAT_sig(reg_num, context)
FLOAT_sig not defined on your platform
/* Float registers */
# define FLOAT_sig(reg_num, context)
(((double*)((char*)((context)->uc_mcontext.regs+48*4)))[reg_num])
# define FPSCR_sig(
reg_num, context) FPSCR_sig not defined on your platform
/* Float registers */
# define FPSCR_sig(
context) (*(int*)((char*)((context)->uc_mcontext.regs+(48+32*2)*4)))
/* Exception Registers access */
/* Exception Registers access */
# define DAR_sig(context)
DAR_sig not defined on your platform
# define DAR_sig(context)
REG_sig(dar, context)
# define DSISR_sig(context)
DSISR_sig not defined on your platform
# define DSISR_sig(context)
REG_sig(dsisr, context)
# define TRAP_sig(context)
TRAP_sig not defined on your platform
# define TRAP_sig(context)
REG_sig(trap, context)
#endif
/* linux */
#endif
/* linux */
...
...
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