public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Why large stack frame for PAL call
@ 2004-06-27 17:42 Chen, Kenneth W
  2004-06-29  5:50 ` David Mosberger
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Chen, Kenneth W @ 2004-06-27 17:42 UTC (permalink / raw)
  To: linux-ia64

Does anyone know why we need such large stack frame for PAL static
call?  PAL isn't even suppose to touch any stack register for static
calling convention.  Is it for legacy reason or something?

GLOBAL_ENTRY(ia64_pal_call_static)
        .prologue ASM_UNW_PRLG_RP|ASM_UNW_PRLG_PFS, ASM_UNW_PRLG_GRSAVE(6)
        alloc loc1 = ar.pfs,6,90,0,0

GLOBAL_ENTRY(ia64_pal_call_phys_static)
        .prologue ASM_UNW_PRLG_RP|ASM_UNW_PRLG_PFS, ASM_UNW_PRLG_GRSAVE(6)
        alloc loc1 = ar.pfs,6,90,0,0

96 local registers?

Also caller is support to setup callee's stack frame for PAL stacked
convention?  Wasn't clear from the PAL spec.  Though I couldn't make
up any story why it needs to.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-06-29 21:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-27 17:42 Why large stack frame for PAL call Chen, Kenneth W
2004-06-29  5:50 ` David Mosberger
2004-06-29 14:11 ` n0ano
2004-06-29 15:13 ` Chen, Kenneth W
2004-06-29 16:20 ` Mallick, Asit K
2004-06-29 21:43 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox