iPXE
|
EFI image wrapping. More...
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include <ipxe/efi/efi.h>
#include <ipxe/efi/Protocol/LoadedImage.h>
#include <ipxe/efi/efi_wrap.h>
Go to the source code of this file.
Macros | |
#define | colour &efi_systab |
Colour for debug messages. More... | |
#define | MAX_WRAP_MULTI 20 |
Maximum number of interfaces for wrapped ...MultipleProtocolInterfaces() More... | |
EFI image wrapping.
Definition in file efi_wrap.c.
#define colour &efi_systab |
Colour for debug messages.
Definition at line 41 of file efi_wrap.c.
#define MAX_WRAP_MULTI 20 |
Maximum number of interfaces for wrapped ...MultipleProtocolInterfaces()
Definition at line 1050 of file efi_wrap.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
Convert EFI status code to text.
efirc | EFI status code |
text | EFI status code text |
Definition at line 49 of file efi_wrap.c.
References EFI_ABORTED, EFI_ACCESS_DENIED, EFI_ALREADY_STARTED, EFI_BAD_BUFFER_SIZE, EFI_BUFFER_TOO_SMALL, EFI_COMPROMISED_DATA, EFI_CRC_ERROR, EFI_DEVICE_ERROR, EFI_END_OF_FILE, EFI_END_OF_MEDIA, EFI_ICMP_ERROR, EFI_INCOMPATIBLE_VERSION, EFI_INVALID_LANGUAGE, EFI_INVALID_PARAMETER, EFI_LOAD_ERROR, EFI_MEDIA_CHANGED, EFI_NO_MAPPING, EFI_NO_MEDIA, EFI_NO_RESPONSE, EFI_NOT_FOUND, EFI_NOT_READY, EFI_NOT_STARTED, EFI_OUT_OF_RESOURCES, EFI_PROTOCOL_ERROR, EFI_SECURITY_VIOLATION, EFI_SUCCESS, EFI_TFTP_ERROR, EFI_TIMEOUT, EFI_UNSUPPORTED, EFI_VOLUME_CORRUPTED, EFI_VOLUME_FULL, EFI_WARN_BUFFER_TOO_SMALL, EFI_WARN_DELETE_FAILURE, EFI_WARN_STALE_DATA, EFI_WARN_UNKNOWN_GLYPH, EFI_WARN_WRITE_FAILURE, EFI_WRITE_PROTECTED, and snprintf().
Referenced by efi_allocate_pages_wrapper(), efi_allocate_pool_wrapper(), efi_check_event_wrapper(), efi_close_event_wrapper(), efi_close_protocol_wrapper(), efi_connect_controller_wrapper(), efi_create_event_ex_wrapper(), efi_create_event_wrapper(), efi_disconnect_controller_wrapper(), efi_exit_boot_services_wrapper(), efi_exit_wrapper(), efi_free_pages_wrapper(), efi_free_pool_wrapper(), efi_get_memory_map_wrapper(), efi_get_next_monotonic_count_wrapper(), efi_handle_protocol_wrapper(), efi_install_configuration_table_wrapper(), efi_install_multiple_protocol_interfaces_wrapper(), efi_install_protocol_interface_wrapper(), efi_load_image_wrapper(), efi_locate_device_path_wrapper(), efi_locate_handle_buffer_wrapper(), efi_locate_handle_wrapper(), efi_locate_protocol_wrapper(), efi_open_protocol_information_wrapper(), efi_open_protocol_wrapper(), efi_protocols_per_handle_wrapper(), efi_register_protocol_notify_wrapper(), efi_reinstall_protocol_interface_wrapper(), efi_set_timer_wrapper(), efi_set_watchdog_timer_wrapper(), efi_signal_event_wrapper(), efi_stall_wrapper(), efi_start_image_wrapper(), efi_uninstall_multiple_protocol_interfaces_wrapper(), efi_uninstall_protocol_interface_wrapper(), efi_unload_image_wrapper(), and efi_wait_for_event_wrapper().
|
static |
Convert EFI boolean to text.
boolean | Boolean value |
text | Boolean value text |
Definition at line 103 of file efi_wrap.c.
Referenced by efi_connect_controller_wrapper(), and efi_load_image_wrapper().
|
static |
Convert EFI TPL to text.
tpl | Task priority level |
text | Task priority level as text |
Definition at line 114 of file efi_wrap.c.
References snprintf(), TPL_APPLICATION, TPL_CALLBACK, TPL_HIGH_LEVEL, and TPL_NOTIFY.
Referenced by efi_create_event_ex_wrapper(), efi_create_event_wrapper(), efi_raise_tpl_wrapper(), and efi_restore_tpl_wrapper().
|
static |
Convert EFI allocation type to text.
type | Allocation type |
text | Allocation type as text |
Definition at line 135 of file efi_wrap.c.
References AllocateAddress, AllocateAnyPages, AllocateMaxAddress, snprintf(), and type.
Referenced by efi_allocate_pages_wrapper().
|
static |
Convert EFI memory type to text.
type | Memory type |
text | Memory type as text |
Definition at line 154 of file efi_wrap.c.
References EfiACPIMemoryNVS, EfiACPIReclaimMemory, EfiBootServicesCode, EfiBootServicesData, EfiConventionalMemory, EfiLoaderCode, EfiLoaderData, EfiMemoryMappedIO, EfiMemoryMappedIOPortSpace, EfiPalCode, EfiPersistentMemory, EfiReservedMemoryType, EfiRuntimeServicesCode, EfiRuntimeServicesData, EfiUnusableMemory, snprintf(), and type.
Referenced by efi_allocate_pages_wrapper(), efi_allocate_pool_wrapper(), and efi_get_memory_map_wrapper().
|
static |
Convert EFI timer delay type to text.
type | Timer delay type |
text | Timer delay type as text |
Definition at line 185 of file efi_wrap.c.
References snprintf(), TimerCancel, TimerPeriodic, TimerRelative, and type.
Referenced by efi_set_timer_wrapper().
|
static |
Dump information about a loaded image.
handle | Image handle |
Definition at line 203 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, EFI_BOOT_SERVICES::CloseProtocol, colour, DBGC, DBGC_EFI_PROTOCOLS, EEFI, efi_devpath_text(), efi_handle_name(), efi_image_handle, efi_loaded_image_protocol_guid, EFI_OPEN_PROTOCOL_GET_PROTOCOL, efi_systab, handle, NULL, EFI_BOOT_SERVICES::OpenProtocol, rc, and strerror().
Referenced by efi_load_image_wrapper(), and efi_wrap().
Wrap RaiseTPL()
Definition at line 244 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGCP, efi_systab, efi_tpl(), and EFI_BOOT_SERVICES::RaiseTPL.
Referenced by efi_wrap_bs().
Wrap RestoreTPL()
Definition at line 260 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGCP, efi_systab, efi_tpl(), and EFI_BOOT_SERVICES::RestoreTPL.
Referenced by efi_wrap_bs().
|
static |
Wrap AllocatePages()
Definition at line 274 of file efi_wrap.c.
References EFI_BOOT_SERVICES::AllocatePages, EFI_SYSTEM_TABLE::BootServices, colour, DBGC2, efi_allocate_type(), efi_memory_type(), efi_status(), efi_systab, and type.
Referenced by efi_wrap_bs().
|
static |
Wrap FreePages()
Definition at line 296 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC2, efi_status(), efi_systab, and EFI_BOOT_SERVICES::FreePages.
Referenced by efi_wrap_bs().
|
static |
Wrap GetMemoryMap()
Definition at line 314 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBG_EXTRA, DBGC, DBGC2, desc, efi_memory_type(), EFI_PAGE_SIZE, efi_status(), efi_systab, and EFI_BOOT_SERVICES::GetMemoryMap.
Referenced by efi_wrap_bs().
|
static |
Wrap AllocatePool()
Definition at line 358 of file efi_wrap.c.
References EFI_BOOT_SERVICES::AllocatePool, EFI_SYSTEM_TABLE::BootServices, buffer, colour, DBGC2, efi_memory_type(), efi_status(), efi_systab, and size.
Referenced by efi_wrap_bs().
|
static |
Wrap FreePool()
Definition at line 378 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, buffer, colour, DBGC2, efi_status(), efi_systab, and EFI_BOOT_SERVICES::FreePool.
Referenced by efi_wrap_bs().
|
static |
Wrap CreateEvent()
Definition at line 394 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, EFI_BOOT_SERVICES::CreateEvent, DBGC, efi_status(), efi_systab, efi_tpl(), and type.
Referenced by efi_wrap_bs().
|
static |
Wrap SetTimer()
Definition at line 415 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_status(), efi_systab, efi_timer_delay(), EFI_BOOT_SERVICES::SetTimer, and type.
Referenced by efi_wrap_bs().
|
static |
Wrap WaitForEvent()
Definition at line 435 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_status(), efi_systab, index, and EFI_BOOT_SERVICES::WaitForEvent.
Referenced by efi_wrap_bs().
|
static |
Wrap SignalEvent()
Definition at line 459 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC2, efi_status(), efi_systab, and EFI_BOOT_SERVICES::SignalEvent.
Referenced by efi_wrap_bs().
|
static |
Wrap CloseEvent()
Definition at line 475 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_status(), efi_systab, and EFI_BOOT_SERVICES::SignalEvent.
Referenced by efi_wrap_bs().
|
static |
Wrap CheckEvent()
Definition at line 490 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGCP, efi_status(), efi_systab, and EFI_BOOT_SERVICES::SignalEvent.
Referenced by efi_wrap_bs().
|
static |
Wrap InstallProtocolInterface()
Definition at line 506 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_guid_ntoa(), efi_handle_name(), efi_status(), efi_systab, handle, EFI_BOOT_SERVICES::InstallProtocolInterface, interface_type, and protocol.
Referenced by efi_wrap_bs().
|
static |
Wrap ReinstallProtocolInterface()
Definition at line 528 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_guid_ntoa(), efi_handle_name(), efi_status(), efi_systab, handle, protocol, and EFI_BOOT_SERVICES::ReinstallProtocolInterface.
Referenced by efi_wrap_bs().
|
static |
Wrap UninstallProtocolInterface()
Definition at line 550 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_guid_ntoa(), efi_handle_name(), efi_status(), efi_systab, handle, protocol, and EFI_BOOT_SERVICES::UninstallProtocolInterface.
Referenced by efi_wrap_bs().
|
static |
Wrap HandleProtocol()
Definition at line 570 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_guid_ntoa(), efi_handle_name(), efi_status(), efi_systab, handle, EFI_BOOT_SERVICES::HandleProtocol, and protocol.
Referenced by efi_wrap_bs().
|
static |
Wrap RegisterProtocolNotify()
Definition at line 589 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_guid_ntoa(), efi_status(), efi_systab, protocol, and EFI_BOOT_SERVICES::RegisterProtocolNotify.
Referenced by efi_wrap_bs().
|
static |
Wrap LocateHandle()
Definition at line 608 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, buffer, buffer_size, colour, DBGC, efi_guid_ntoa(), efi_handle_name(), efi_locate_search_type_name(), efi_status(), efi_systab, EFI_BOOT_SERVICES::LocateHandle, and protocol.
Referenced by efi_wrap_bs().
|
static |
Wrap LocateDevicePath()
Definition at line 641 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, device_path, efi_devpath_text(), efi_guid_ntoa(), efi_handle_name(), efi_status(), efi_systab, EFI_BOOT_SERVICES::LocateDevicePath, and protocol.
Referenced by efi_wrap_bs().
|
static |
Wrap InstallConfigurationTable()
Definition at line 662 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_guid_ntoa(), efi_status(), efi_systab, guid, and EFI_BOOT_SERVICES::InstallConfigurationTable.
Referenced by efi_wrap_bs().
|
static |
Wrap LoadImage()
Definition at line 679 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, device_path, efi_boolean(), efi_devpath_text(), efi_dump_image(), efi_handle_name(), efi_status(), efi_systab, EFI_BOOT_SERVICES::LoadImage, and source_size.
Referenced by efi_wrap_bs().
|
static |
Wrap StartImage()
Definition at line 711 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, DBGC_HD, efi_handle_name(), efi_status(), efi_systab, and EFI_BOOT_SERVICES::StartImage.
Referenced by efi_wrap_bs().
|
static |
Wrap Exit()
Definition at line 733 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, DBGC_HD, efi_handle_name(), efi_status(), efi_systab, and EFI_BOOT_SERVICES::Exit.
Referenced by efi_wrap_bs().
|
static |
Wrap UnloadImage()
Definition at line 757 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_handle_name(), efi_status(), efi_systab, and EFI_BOOT_SERVICES::UnloadImage.
Referenced by efi_wrap_bs().
|
static |
Wrap ExitBootServices()
Definition at line 774 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_handle_name(), efi_status(), efi_systab, and EFI_BOOT_SERVICES::ExitBootServices.
Referenced by efi_wrap_bs().
|
static |
Wrap GetNextMonotonicCount()
Definition at line 795 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, count, DBGCP, efi_status(), efi_systab, and EFI_BOOT_SERVICES::GetNextMonotonicCount.
Referenced by efi_wrap_bs().
|
static |
Wrap Stall()
Definition at line 812 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC2, efi_status(), efi_systab, and EFI_BOOT_SERVICES::Stall.
Referenced by efi_wrap_bs().
|
static |
Wrap SetWatchdogTimer()
Definition at line 830 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_status(), efi_systab, EFI_BOOT_SERVICES::SetWatchdogTimer, and timeout().
Referenced by efi_wrap_bs().
|
static |
Wrap ConnectController()
Definition at line 850 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, EFI_BOOT_SERVICES::ConnectController, DBGC, efi_boolean(), efi_devpath_text(), efi_handle_name(), efi_status(), efi_systab, and tmp.
Referenced by efi_wrap_bs().
|
static |
Wrap DisconnectController()
Definition at line 881 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, EFI_BOOT_SERVICES::DisconnectController, efi_handle_name(), efi_status(), and efi_systab.
Referenced by efi_wrap_bs().
|
static |
Wrap OpenProtocol()
Definition at line 904 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_guid_ntoa(), efi_handle_name(), efi_open_attributes_name(), efi_status(), efi_systab, handle, EFI_BOOT_SERVICES::OpenProtocol, and protocol.
Referenced by efi_wrap_bs().
|
static |
Wrap CloseProtocol()
Definition at line 928 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, EFI_BOOT_SERVICES::CloseProtocol, colour, DBGC, efi_guid_ntoa(), efi_handle_name(), efi_status(), efi_systab, handle, and protocol.
Referenced by efi_wrap_bs().
|
static |
Wrap OpenProtocolInformation()
Definition at line 951 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_guid_ntoa(), efi_handle_name(), efi_status(), efi_systab, handle, EFI_BOOT_SERVICES::OpenProtocolInformation, and protocol.
Referenced by efi_wrap_bs().
|
static |
Wrap ProtocolsPerHandle()
Definition at line 974 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_guid_ntoa(), efi_handle_name(), efi_status(), efi_systab, handle, and EFI_BOOT_SERVICES::ProtocolsPerHandle.
Referenced by efi_wrap_bs().
|
static |
Wrap LocateHandleBuffer()
Definition at line 1004 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, buffer, colour, DBGC, efi_guid_ntoa(), efi_handle_name(), efi_locate_search_type_name(), efi_status(), efi_systab, EFI_BOOT_SERVICES::LocateHandleBuffer, and protocol.
Referenced by efi_wrap_bs().
|
static |
Wrap LocateProtocol()
Definition at line 1035 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_guid_ntoa(), efi_status(), efi_systab, EFI_BOOT_SERVICES::LocateProtocol, and protocol.
Referenced by efi_wrap_bs().
|
static |
Wrap InstallMultipleProtocolInterfaces()
Definition at line 1057 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_guid_ntoa(), efi_handle_name(), EFI_OUT_OF_RESOURCES, efi_status(), efi_systab, handle, EFI_BOOT_SERVICES::InstallMultipleProtocolInterfaces, MAX_WRAP_MULTI, memset(), NULL, protocol, va_arg, va_end, va_start, and VOID.
Referenced by efi_wrap_bs().
|
static |
Wrap UninstallMultipleProtocolInterfaces()
Definition at line 1107 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, DBGC, efi_guid_ntoa(), efi_handle_name(), EFI_OUT_OF_RESOURCES, efi_status(), efi_systab, handle, MAX_WRAP_MULTI, memset(), NULL, protocol, EFI_BOOT_SERVICES::UninstallMultipleProtocolInterfaces, va_arg, va_end, va_start, and VOID.
Referenced by efi_wrap_bs().
|
static |
Wrap CreateEventEx()
Definition at line 1157 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, colour, EFI_BOOT_SERVICES::CreateEventEx, DBGC, efi_guid_ntoa(), efi_status(), efi_systab, efi_tpl(), and type.
Referenced by efi_wrap_bs().
EFI_BOOT_SERVICES* efi_wrap_bs | ( | void | ) |
Build boot services table wrapper.
bs | Wrapped boot services table |
Definition at line 1180 of file efi_wrap.c.
References EFI_BOOT_SERVICES::AllocatePages, EFI_BOOT_SERVICES::AllocatePool, EFI_SYSTEM_TABLE::BootServices, EFI_BOOT_SERVICES::CheckEvent, EFI_BOOT_SERVICES::CloseEvent, EFI_BOOT_SERVICES::CloseProtocol, EFI_BOOT_SERVICES::ConnectController, EFI_BOOT_SERVICES::CreateEvent, EFI_BOOT_SERVICES::CreateEventEx, EFI_BOOT_SERVICES::DisconnectController, efi_allocate_pages_wrapper(), efi_allocate_pool_wrapper(), efi_check_event_wrapper(), efi_close_event_wrapper(), efi_close_protocol_wrapper(), efi_connect_controller_wrapper(), efi_create_event_ex_wrapper(), efi_create_event_wrapper(), efi_disconnect_controller_wrapper(), efi_exit_boot_services_wrapper(), efi_exit_wrapper(), efi_free_pages_wrapper(), efi_free_pool_wrapper(), efi_get_memory_map_wrapper(), efi_get_next_monotonic_count_wrapper(), efi_handle_protocol_wrapper(), efi_install_configuration_table_wrapper(), efi_install_multiple_protocol_interfaces_wrapper(), efi_install_protocol_interface_wrapper(), efi_load_image_wrapper(), efi_locate_device_path_wrapper(), efi_locate_handle_buffer_wrapper(), efi_locate_handle_wrapper(), efi_locate_protocol_wrapper(), efi_open_protocol_information_wrapper(), efi_open_protocol_wrapper(), efi_protocols_per_handle_wrapper(), efi_raise_tpl_wrapper(), efi_register_protocol_notify_wrapper(), efi_reinstall_protocol_interface_wrapper(), efi_restore_tpl_wrapper(), efi_set_timer_wrapper(), efi_set_watchdog_timer_wrapper(), efi_signal_event_wrapper(), efi_stall_wrapper(), efi_start_image_wrapper(), efi_systab, efi_uninstall_multiple_protocol_interfaces_wrapper(), efi_uninstall_protocol_interface_wrapper(), efi_unload_image_wrapper(), efi_wait_for_event_wrapper(), EFI_BOOT_SERVICES::Exit, EFI_BOOT_SERVICES::ExitBootServices, EFI_BOOT_SERVICES::FreePages, EFI_BOOT_SERVICES::FreePool, EFI_BOOT_SERVICES::GetMemoryMap, EFI_BOOT_SERVICES::GetNextMonotonicCount, EFI_BOOT_SERVICES::HandleProtocol, EFI_BOOT_SERVICES::InstallConfigurationTable, EFI_BOOT_SERVICES::InstallMultipleProtocolInterfaces, EFI_BOOT_SERVICES::InstallProtocolInterface, EFI_BOOT_SERVICES::LoadImage, EFI_BOOT_SERVICES::LocateDevicePath, EFI_BOOT_SERVICES::LocateHandle, EFI_BOOT_SERVICES::LocateHandleBuffer, EFI_BOOT_SERVICES::LocateProtocol, memcpy(), EFI_BOOT_SERVICES::OpenProtocol, EFI_BOOT_SERVICES::OpenProtocolInformation, EFI_BOOT_SERVICES::ProtocolsPerHandle, EFI_BOOT_SERVICES::RaiseTPL, EFI_BOOT_SERVICES::RegisterProtocolNotify, EFI_BOOT_SERVICES::ReinstallProtocolInterface, EFI_BOOT_SERVICES::RestoreTPL, EFI_BOOT_SERVICES::SetTimer, EFI_BOOT_SERVICES::SetWatchdogTimer, EFI_BOOT_SERVICES::SignalEvent, EFI_BOOT_SERVICES::Stall, EFI_BOOT_SERVICES::StartImage, EFI_BOOT_SERVICES::UninstallMultipleProtocolInterfaces, EFI_BOOT_SERVICES::UninstallProtocolInterface, EFI_BOOT_SERVICES::UnloadImage, and EFI_BOOT_SERVICES::WaitForEvent.
Referenced by efi_wrap().
void efi_wrap | ( | EFI_HANDLE | handle | ) |
Wrap the calls made by a loaded image.
handle | Image handle |
Definition at line 1248 of file efi_wrap.c.
References EFI_SYSTEM_TABLE::BootServices, DBG_LOG, efi_dump_image(), efi_systab, efi_wrap_bs(), handle, and memcpy().
Referenced by efi_image_exec().