summaryrefslogtreecommitdiffstats
path: root/linux-user/ppc/target_syscall.h
blob: c461f878f2d604650c5ed1691353d741bbfe3726 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
:31 +0200
committer  blueswir1  2007-10-14 18:27:31 +0200

 Support for 32 bit ABI on 64 bit targets (only enabled Sparc64)' href='/bwlp/qemu.git/commit/linux-user/ppc/target_signal.h?id=992f48a036cccf7101e31bf3e5d901ce5320e886'>992f48a036 ^
1
2
3
4
5
6
7
8
9

                           
 


                                                              
                        
                     
                          
                 










                                  

                              
                          
                                   
      
                                
#ifndef PPC_TARGET_SIGNAL_H
#define PPC_TARGET_SIGNAL_H

/* this struct defines a stack used during syscall handling */

typedef struct target_sigaltstack {
	abi_ulong ss_sp;
	int ss_flags;
	abi_ulong ss_size;
} target_stack_t;


/*
 * sigaltstack controls
 */
#define TARGET_SS_ONSTACK     1
#define TARGET_SS_DISABLE     2

#define TARGET_MINSIGSTKSZ    2048
#define TARGET_SIGSTKSZ       8192

#include "../generic/signal.h"

#if !defined(TARGET_PPC64)
#define TARGET_ARCH_HAS_SETUP_FRAME
#endif
#endif /* PPC_TARGET_SIGNAL_H */