Removed global variables

Signed-off-by: Jozef Nagy <132941213+schkwve@users.noreply.github.com>
This commit is contained in:
Jozef Nagy 2024-06-06 22:02:00 +02:00 committed by GitHub
parent d7b6e4cb4a
commit fd21dfd54b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,16 +6,5 @@
#define EFI_ERROR(status) (((INTN)(status)) < 0)
static EFI_HANDLE g_ImageHandle;
static EFI_SYSTEM_TABLE *g_SystemTable;
static EFI_BOOT_SERVICES *g_BootServices;
static inline void EfiLibInitialize(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable)
{
g_ImageHandle = ImageHandle;
g_SystemTable = SystemTable;
g_BootServices = SystemTable->BootServices;
}
#endif /* EFI_EFILIB_H */