EFI/SAL question
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
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