Rev 197 | Rev 306 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 197 | Rev 282 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | 31 | ||
32 | #ifndef __amd64_TYPES_H__ |
32 | #ifndef __amd64_TYPES_H__ |
33 | # include <arch/types.h> |
33 | # include <arch/types.h> |
34 | #endif |
34 | #endif |
35 | 35 | ||
- | 36 | ||
- | 37 | /* According to ABI the stack MUST be aligned on |
|
- | 38 | * 16-byte boundary. If it is not, the va_arg calling will |
|
- | 39 | * panic sooner or later |
|
- | 40 | */ |
|
36 | #define SP_DELTA 8 |
41 | #define SP_DELTA 16 |
37 | 42 | ||
38 | struct context { |
43 | struct context { |
39 | __u64 sp; |
44 | __u64 sp; |
40 | __u64 pc; |
45 | __u64 pc; |
41 | 46 |