mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
Preliminary AIX support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5732 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
14f87098c0
commit
b29fe3ed48
7 changed files with 79 additions and 4 deletions
|
@ -65,11 +65,15 @@ enum {
|
|||
/* used for function call generation */
|
||||
#define TCG_REG_CALL_STACK TCG_REG_R1
|
||||
#define TCG_TARGET_STACK_ALIGN 16
|
||||
#ifdef __APPLE__
|
||||
#if defined __APPLE__
|
||||
#define TCG_TARGET_CALL_STACK_OFFSET 24
|
||||
#else
|
||||
#elif defined _AIX
|
||||
#define TCG_TARGET_CALL_STACK_OFFSET 52
|
||||
#elif defined __linux__
|
||||
#define TCG_TARGET_CALL_ALIGN_ARGS 1
|
||||
#define TCG_TARGET_CALL_STACK_OFFSET 8
|
||||
#else
|
||||
#error Unsupported system
|
||||
#endif
|
||||
|
||||
/* optional instructions */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue