mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-23 18:12:00 -06:00
Define stack offsets
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4554 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
bcb0126ff4
commit
64e3257c03
1 changed files with 5 additions and 0 deletions
|
@ -74,6 +74,11 @@ enum {
|
||||||
/* used for function call generation */
|
/* used for function call generation */
|
||||||
#define TCG_REG_CALL_STACK TCG_REG_O6
|
#define TCG_REG_CALL_STACK TCG_REG_O6
|
||||||
#define TCG_TARGET_STACK_ALIGN 16
|
#define TCG_TARGET_STACK_ALIGN 16
|
||||||
|
#ifdef __arch64__
|
||||||
|
#define TCG_TARGET_CALL_STACK_OFFSET 2047
|
||||||
|
#else
|
||||||
|
#define TCG_TARGET_CALL_STACK_OFFSET 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__sparc_v9__) && !defined(__sparc_v8plus__)
|
#if defined(__sparc_v9__) && !defined(__sparc_v8plus__)
|
||||||
#define TCG_TARGET_STACK_MINFRAME 176
|
#define TCG_TARGET_STACK_MINFRAME 176
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue