Skip to contentSkip to conversation

EFI/SAL question

Linux-ia64 Christian Hildner 2 participants 2 messages Nov 14, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

does EFI (runtime services) or SAL calls use the global pointer? If yes, how must gp initialized before doing the call (from assembly)?

Christian

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Christian Hildner

Christian> Hi, does EFI (runtime services) or SAL calls use the Christian> global pointer? If yes, how must gp initialized before Christian> doing the call (from assembly)?

Yes, both use GP. For SAL, the GP is provided via the SAL_DESC_ENTRY_POINT descriptor (page 419 in the ia64 linux kernel book). For EFI, the runtime services routines are given as normal function pointers (so they contain both code entry point and gp).

	--david