|
iPXE
|
EFI API. More...
#include <ipxe/efi/Uefi/UefiBaseType.h>#include <ipxe/efi/Uefi.h>#include <ipxe/efi/PiDxe.h>#include <ipxe/efi/Protocol/LoadedImage.h>#include <ipxe/tables.h>#include <ipxe/uuid.h>#include <ipxe/version.h>#include <ipxe/profile.h>Go to the source code of this file.
Data Structures | |
| struct | EFI_HANDLE |
| struct | EFI_EVENT |
| struct | efi_saved_tpl |
| An EFI saved task priority level. More... | |
| struct | efi_protocol |
| An EFI protocol used by iPXE. More... | |
| struct | efi_config_table |
| An EFI configuration table used by iPXE. More... | |
Macros | |
| #define | EFI_HANDLE STUPID_EFI_HANDLE |
| #define | EFI_EVENT STUPID_EFI_EVENT |
| #define | _Static_assert(expr, msg) |
| #define | EFI_PROTOCOLS __table ( struct efi_protocol, "efi_protocols" ) |
| EFI protocol table. More... | |
| #define | __efi_protocol __table_entry ( EFI_PROTOCOLS, 01 ) |
| Declare an EFI protocol used by iPXE. More... | |
| #define | EFI_REQUIRE_PROTOCOL(_protocol, _ptr) |
| Declare an EFI protocol to be required by iPXE. More... | |
| #define | EFI_REQUEST_PROTOCOL(_protocol, _ptr) |
| Declare an EFI protocol to be requested by iPXE. More... | |
| #define | EFI_CONFIG_TABLES __table ( struct efi_config_table, "efi_config_tables" ) |
| EFI configuration table table. More... | |
| #define | __efi_config_table __table_entry ( EFI_CONFIG_TABLES, 01 ) |
| Declare an EFI configuration table used by iPXE. More... | |
| #define | EFI_USE_TABLE(_table, _ptr, _required) |
| Declare an EFI configuration table to be used by iPXE. More... | |
| #define | EFIRC(rc) ERRNO_TO_PLATFORM ( -(rc) ) |
| Convert an iPXE status code to an EFI status code. More... | |
| #define | EEFI(efirc) EPLATFORM ( EINFO_EPLATFORM, efirc ) |
| Convert an EFI status code to an iPXE status code. More... | |
| #define | DBG_EFI_OPENER_IF(level, handle, protocol, opener) |
| #define | DBG_EFI_OPENERS_IF(level, handle, protocol) |
| #define | DBG_EFI_PROTOCOLS_IF(level, handle) |
| #define | DBGC_EFI_OPENER_IF(level, id, ...) |
| #define | DBGC_EFI_OPENERS_IF(level, id, ...) |
| #define | DBGC_EFI_PROTOCOL_IF(level, id, ...) |
| #define | DBGC_EFI_PROTOCOLS_IF(level, id, ...) |
| #define | DBGC_EFI_OPENER(...) DBGC_EFI_OPENER_IF ( LOG, ##__VA_ARGS__ ) |
| #define | DBGC_EFI_OPENERS(...) DBGC_EFI_OPENERS_IF ( LOG, ##__VA_ARGS__ ) |
| #define | DBGC_EFI_PROTOCOL(...) DBGC_EFI_PROTOCOL_IF ( LOG, ##__VA_ARGS__ ) |
| #define | DBGC_EFI_PROTOCOLS(...) DBGC_EFI_PROTOCOLS_IF ( LOG, ##__VA_ARGS__ ) |
| #define | DBGC2_EFI_OPENER(...) DBGC_EFI_OPENER_IF ( EXTRA, ##__VA_ARGS__ ) |
| #define | DBGC2_EFI_OPENERS(...) DBGC_EFI_OPENERS_IF ( EXTRA, ##__VA_ARGS__ ) |
| #define | DBGC2_EFI_PROTOCOL(...) DBGC_EFI_PROTOCOL_IF ( EXTRA, ##__VA_ARGS__ ) |
| #define | DBGC2_EFI_PROTOCOLS(...) DBGC_EFI_PROTOCOLS_IF ( EXTRA, ##__VA_ARGS__ ) |
| #define | DBGCP_EFI_OPENER(...) DBGC_EFI_OPENER_IF ( PROFILE, ##__VA_ARGS__ ) |
| #define | DBGCP_EFI_OPENERS(...) DBGC_EFI_OPENERS_IF ( PROFILE, ##__VA_ARGS__ ) |
| #define | DBGCP_EFI_PROTOCOL(...) DBGC_EFI_PROTOCOL_IF ( PROFILE, ##__VA_ARGS__ ) |
| #define | DBGCP_EFI_PROTOCOLS(...) DBGC_EFI_PROTOCOLS_IF ( PROFILE, ##__VA_ARGS__ ) |
| #define | EFI_INTF_OP UNUSED_INTF_OP |
| #define | efi_test(handle, protocol) efi_open_untyped ( (handle), (protocol), NULL ) |
| Test protocol existence. More... | |
| #define | efi_open(handle, protocol, interface) |
| Open protocol for ephemeral use. More... | |
| #define | efi_open_unsafe(handle, protocol, interface) |
| Open protocol for unsafe persistent use. More... | |
| #define | efi_open_by_driver(handle, protocol, interface) |
| Open protocol for persistent use by a driver. More... | |
| #define | efi_open_by_child(handle, protocol, child, interface) |
| Open protocol for persistent use by a child controller. More... | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER) | |
| const char * | efi_guid_ntoa (CONST EFI_GUID *guid) |
| Convert GUID to a printable string. More... | |
| const char * | efi_tpl_name (EFI_TPL tpl) |
| Name EFI TPL. More... | |
| const char * | efi_locate_search_type_name (EFI_LOCATE_SEARCH_TYPE search_type) |
| Name locate search type. More... | |
| const char * | efi_open_attributes_name (unsigned int attributes) |
| Name protocol open attributes. More... | |
| const char * | efi_devpath_text (EFI_DEVICE_PATH_PROTOCOL *path) |
| Get textual representation of device path. More... | |
| const char * | efi_handle_name (EFI_HANDLE handle) |
| Get name of an EFI handle. More... | |
| void | dbg_efi_opener (EFI_HANDLE handle, EFI_GUID *protocol, EFI_OPEN_PROTOCOL_INFORMATION_ENTRY *opener) |
| Print opened protocol information. More... | |
| void | dbg_efi_openers (EFI_HANDLE handle, EFI_GUID *protocol) |
| Print list of openers of a given protocol on a given handle. More... | |
| void | dbg_efi_protocol (EFI_HANDLE handle, EFI_GUID *protocol) |
| Print protocol information on a given handle. More... | |
| void | dbg_efi_protocols (EFI_HANDLE handle) |
| Print list of protocol handlers attached to a handle. More... | |
| unsigned long | efi_stack_cookie (EFI_HANDLE handle) |
| Construct a stack cookie value. More... | |
| void | __stack_chk_fail (void) |
| Abort on stack check failure. More... | |
| static void | efi_init_stack_guard (EFI_HANDLE handle) |
| Initialise stack cookie. More... | |
| EFI_STATUS | efi_init (EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *systab) |
| Initialise EFI environment. More... | |
| void | efi_raise_tpl (struct efi_saved_tpl *tpl) |
| Raise task priority level to internal level. More... | |
| void | efi_restore_tpl (struct efi_saved_tpl *tpl) |
| Restore task priority level. More... | |
| int | efi_open_untyped (EFI_HANDLE handle, EFI_GUID *protocol, void **interface) |
| Open (or test) protocol for ephemeral use. More... | |
| int | efi_open_unsafe_untyped (EFI_HANDLE handle, EFI_GUID *protocol, void **interface) |
| Open protocol for unsafe persistent use. More... | |
| void | efi_close_unsafe (EFI_HANDLE handle, EFI_GUID *protocol) |
| Close protocol opened for unsafe persistent use. More... | |
| int | efi_open_by_driver_untyped (EFI_HANDLE handle, EFI_GUID *protocol, void **interface) |
| Open protocol for persistent use by a driver. More... | |
| void | efi_close_by_driver (EFI_HANDLE handle, EFI_GUID *protocol) |
| Close protocol opened for persistent use by a driver. More... | |
| int | efi_open_by_child_untyped (EFI_HANDLE handle, EFI_GUID *protocol, EFI_HANDLE child, void **interface) |
| Open protocol for persistent use by a child controller. More... | |
| void | efi_close_by_child (EFI_HANDLE handle, EFI_GUID *protocol, EFI_HANDLE child) |
| Close protocol opened for persistent use by a child controller. More... | |
| int | efi_connect (EFI_HANDLE device, EFI_HANDLE driver) |
| Connect UEFI driver(s) More... | |
| int | efi_disconnect (EFI_HANDLE device, EFI_HANDLE driver) |
| Disconnect UEFI driver(s) More... | |
EFI API.
The intention is to include near-verbatim copies of the EFI headers required by iPXE. This is achieved using the import.pl script in this directory. Run the import script to update the local copies of the headers:
./import.pl /path/to/edk2/edk2
where /path/to/edk2/edk2 is the path to your local checkout of the EFI Development Kit.
Note that import.pl will modify any #include lines in each imported header to reflect its new location within the iPXE tree. It will also tidy up the file by removing carriage return characters and trailing whitespace.
Definition in file efi.h.
| #define EFI_HANDLE STUPID_EFI_HANDLE |
| #define EFI_PROTOCOLS __table ( struct efi_protocol, "efi_protocols" ) |
| #define __efi_protocol __table_entry ( EFI_PROTOCOLS, 01 ) |
| #define EFI_REQUIRE_PROTOCOL | ( | _protocol, | |
| _ptr | |||
| ) |
Declare an EFI protocol to be required by iPXE.
| _protocol | EFI protocol name |
| _ptr | Pointer to protocol instance |
| #define EFI_REQUEST_PROTOCOL | ( | _protocol, | |
| _ptr | |||
| ) |
Declare an EFI protocol to be requested by iPXE.
| _protocol | EFI protocol name |
| _ptr | Pointer to protocol instance |
| #define EFI_CONFIG_TABLES __table ( struct efi_config_table, "efi_config_tables" ) |
| #define __efi_config_table __table_entry ( EFI_CONFIG_TABLES, 01 ) |
| #define EFI_USE_TABLE | ( | _table, | |
| _ptr, | |||
| _required | |||
| ) |
Declare an EFI configuration table to be used by iPXE.
| _table | EFI configuration table name |
| _ptr | Pointer to configuration table |
| _required | Table is required for operation |
| #define EFIRC | ( | rc | ) | ERRNO_TO_PLATFORM ( -(rc) ) |
| #define EEFI | ( | efirc | ) | EPLATFORM ( EINFO_EPLATFORM, efirc ) |
| #define DBG_EFI_PROTOCOLS_IF | ( | level, | |
| handle | |||
| ) |
| #define DBGC_EFI_OPENER_IF | ( | level, | |
| id, | |||
| ... | |||
| ) |
| #define DBGC_EFI_OPENERS_IF | ( | level, | |
| id, | |||
| ... | |||
| ) |
| #define DBGC_EFI_PROTOCOL_IF | ( | level, | |
| id, | |||
| ... | |||
| ) |
| #define DBGC_EFI_PROTOCOLS_IF | ( | level, | |
| id, | |||
| ... | |||
| ) |
| #define DBGC_EFI_OPENER | ( | ... | ) | DBGC_EFI_OPENER_IF ( LOG, ##__VA_ARGS__ ) |
| #define DBGC_EFI_OPENERS | ( | ... | ) | DBGC_EFI_OPENERS_IF ( LOG, ##__VA_ARGS__ ) |
| #define DBGC_EFI_PROTOCOL | ( | ... | ) | DBGC_EFI_PROTOCOL_IF ( LOG, ##__VA_ARGS__ ) |
| #define DBGC_EFI_PROTOCOLS | ( | ... | ) | DBGC_EFI_PROTOCOLS_IF ( LOG, ##__VA_ARGS__ ) |
| #define DBGC2_EFI_OPENER | ( | ... | ) | DBGC_EFI_OPENER_IF ( EXTRA, ##__VA_ARGS__ ) |
| #define DBGC2_EFI_OPENERS | ( | ... | ) | DBGC_EFI_OPENERS_IF ( EXTRA, ##__VA_ARGS__ ) |
| #define DBGC2_EFI_PROTOCOL | ( | ... | ) | DBGC_EFI_PROTOCOL_IF ( EXTRA, ##__VA_ARGS__ ) |
| #define DBGC2_EFI_PROTOCOLS | ( | ... | ) | DBGC_EFI_PROTOCOLS_IF ( EXTRA, ##__VA_ARGS__ ) |
| #define DBGCP_EFI_OPENER | ( | ... | ) | DBGC_EFI_OPENER_IF ( PROFILE, ##__VA_ARGS__ ) |
| #define DBGCP_EFI_OPENERS | ( | ... | ) | DBGC_EFI_OPENERS_IF ( PROFILE, ##__VA_ARGS__ ) |
| #define DBGCP_EFI_PROTOCOL | ( | ... | ) | DBGC_EFI_PROTOCOL_IF ( PROFILE, ##__VA_ARGS__ ) |
| #define DBGCP_EFI_PROTOCOLS | ( | ... | ) | DBGC_EFI_PROTOCOLS_IF ( PROFILE, ##__VA_ARGS__ ) |
| #define EFI_INTF_OP UNUSED_INTF_OP |
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
Convert GUID to a printable string.
| guid | GUID |
| string | Printable string |
Definition at line 702 of file efi_guid.c.
References efi_well_known_guids, guid, efi_well_known_guid::guid, memcmp(), memcpy(), efi_well_known_guid::name, NULL, u, uuid_mangle(), and uuid_ntoa().
Referenced by chained_locate(), chained_supported(), dbg_efi_opener(), dbg_efi_openers(), dbg_efi_protocol(), efi_autoexec_load(), efi_close_protocol_wrapper(), efi_create_event_ex_wrapper(), efi_driver_exclude(), efi_file_get_info(), efi_file_path_uninstall(), efi_file_set_info(), efi_find_table(), efi_handle_name(), efi_handle_protocol_wrapper(), efi_init(), efi_install_configuration_table_wrapper(), efi_install_multiple_protocol_interfaces_wrapper(), efi_install_protocol_interface_wrapper(), efi_install_table(), efi_locate_device(), 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_service_add(), efi_service_del(), efi_uninstall_multiple_protocol_interfaces_wrapper(), efi_uninstall_protocol_interface_wrapper(), efi_veto_close_protocol(), efisig_find(), efivars_fetch(), efivars_find(), and snpnet_supported().
| const char* efi_tpl_name | ( | EFI_TPL | tpl | ) |
Name EFI TPL.
| tpl | Task priority level |
| text | Task priority level as text |
Definition at line 55 of file efi_debug.c.
References snprintf(), TPL_APPLICATION, TPL_CALLBACK, TPL_HIGH_LEVEL, and TPL_NOTIFY.
Referenced by efi_connect(), efi_create_event_ex_wrapper(), efi_create_event_wrapper(), efi_disconnect(), efi_raise_tpl_wrapper(), and efi_restore_tpl_wrapper().
| const char* efi_locate_search_type_name | ( | EFI_LOCATE_SEARCH_TYPE | search_type | ) |
Name locate search type.
| search_type | Locate search type |
| name | Locate search type name |
Definition at line 77 of file efi_debug.c.
References AllHandles, ByProtocol, ByRegisterNotify, and snprintf().
Referenced by efi_locate_handle_buffer_wrapper(), and efi_locate_handle_wrapper().
| const char* efi_open_attributes_name | ( | unsigned int | attributes | ) |
Name protocol open attributes.
| attributes | Protocol open attributes |
| name | Protocol open attributes name |
Returns a (static) string with characters for each set bit corresponding to BY_(H)ANDLE_PROTOCOL, (G)ET_PROTOCOL, (T)EST_PROTOCOL, BY_(C)HILD_CONTROLLER, BY_(D)RIVER, and E(X)CLUSIVE.
Definition at line 102 of file efi_debug.c.
Referenced by dbg_efi_opener(), and efi_open_protocol_wrapper().
| const char* efi_devpath_text | ( | EFI_DEVICE_PATH_PROTOCOL * | path | ) |
Get textual representation of device path.
| path | Device path |
| text | Textual representation of device path, or NULL |
Definition at line 247 of file efi_debug.c.
References EFI_SYSTEM_TABLE::BootServices, EFI_DEVICE_PATH_TO_TEXT_PROTOCOL::ConvertDevicePathToText, DBG, efi_path_len(), efi_systab, efidpt, FALSE, EFI_BOOT_SERVICES::FreePool, len, NULL, and snprintf().
Referenced by efi_block_exec(), efi_block_hook(), efi_block_match(), efi_connect_controller_wrapper(), efi_driver_start(), efi_driver_supported(), efi_dump_image(), efi_file_path_claim(), efi_file_path_install(), efi_file_path_uninstall(), efi_init(), efi_init_application(), efi_load_image_wrapper(), efi_loaded_image_filepath_name(), efi_local_open_volume(), efi_locate_device(), efi_locate_device_path_wrapper(), efi_path_net_probe(), usbio_open(), and usbio_path().
| const char* efi_handle_name | ( | EFI_HANDLE | handle | ) |
Get name of an EFI handle.
| handle | EFI handle |
| text | Name of handle, or NULL |
Definition at line 652 of file efi_debug.c.
References EFI_SYSTEM_TABLE::BootServices, count, DBG2, efi_guid_ntoa(), efi_handle_name_types, efi_open, efi_systab, EFI_BOOT_SERVICES::FreePool, handle, name, NULL, EFI_BOOT_SERVICES::ProtocolsPerHandle, rc, ssnprintf(), and type.
Referenced by chained_locate(), chained_supported(), dbg_efi_opener(), dbg_efi_openers(), dbg_efi_protocol(), dbg_efi_protocols(), efi_autoexec_filesystem(), efi_autoexec_load(), efi_autoexec_network(), efi_block_boot(), efi_block_filename(), efi_block_hook(), efi_block_local(), efi_block_match(), efi_block_root(), efi_bofm_start(), efi_bofm_supported(), efi_cachedhcp_record(), efi_child_add(), efi_child_del(), efi_close_protocol_wrapper(), efi_connect(), efi_connect_controller_wrapper(), efi_device_info(), efi_device_info_pci(), efi_disconnect(), efi_disconnect_controller_wrapper(), efi_driver_connect(), efi_driver_exclude(), efi_driver_start(), efi_driver_stop(), efi_driver_supported(), efi_dump_image(), efi_exit_boot_services_wrapper(), efi_exit_wrapper(), efi_file_path_claim(), efi_handle_protocol_wrapper(), efi_install_multiple_protocol_interfaces_wrapper(), efi_install_protocol_interface_wrapper(), efi_load_image_wrapper(), efi_local_check_volume_name(), efi_local_open_root(), efi_local_open_volume(), efi_locate_device(), efi_locate_device_path_wrapper(), efi_locate_handle_buffer_wrapper(), efi_locate_handle_wrapper(), efi_open_protocol_information_wrapper(), efi_open_protocol_wrapper(), efi_protocols_per_handle_wrapper(), efi_pxe_install(), efi_pxe_uninstall(), efi_reinstall_protocol_interface_wrapper(), efi_service_add(), efi_service_del(), efi_set_autoboot_ll_addr(), efi_snp_probe(), efi_start_image_wrapper(), efi_uninstall_multiple_protocol_interfaces_wrapper(), efi_uninstall_protocol_interface_wrapper(), efi_unload_image_wrapper(), efi_usb_install(), efi_usb_uninstall(), efi_veto(), efi_veto_close(), efi_veto_close_handle(), efi_veto_close_protocol(), efi_veto_destroy(), efi_veto_disconnect(), efi_veto_find(), efi_veto_uninstall(), efi_veto_unload(), efidev_alloc(), efipci_discover_one(), efipci_exclude(), efipci_info(), efipci_root_open(), efipci_start(), mnpnet_start(), mnptemp_create(), nii_exclude(), nii_start(), snpnet_exclude(), snpnet_insomniac_patch(), snpnet_insomniac_restore(), snpnet_is_insomniac(), snpnet_start(), snpnet_stop(), snpnet_supported(), usbio_bulk_in_poll(), usbio_bulk_out_poll(), usbio_config(), usbio_control_poll(), usbio_endpoint_open(), usbio_exclude(), usbio_interface(), usbio_interfaces(), usbio_interrupt_callback(), usbio_interrupt_open(), usbio_open(), usbio_path(), usbio_start(), and usbio_supported().
| void dbg_efi_opener | ( | EFI_HANDLE | handle, |
| EFI_GUID * | protocol, | ||
| EFI_OPEN_PROTOCOL_INFORMATION_ENTRY * | opener | ||
| ) |
Print opened protocol information.
| handle | EFI handle @V protocol Protocol GUID |
| opener | Opened protocol information |
Definition at line 124 of file efi_debug.c.
References EFI_OPEN_PROTOCOL_INFORMATION_ENTRY::AgentHandle, EFI_OPEN_PROTOCOL_INFORMATION_ENTRY::Attributes, EFI_OPEN_PROTOCOL_INFORMATION_ENTRY::ControllerHandle, efi_guid_ntoa(), efi_handle_name(), efi_open_attributes_name(), handle, EFI_OPEN_PROTOCOL_INFORMATION_ENTRY::OpenCount, printf(), and protocol.
Referenced by dbg_efi_openers().
| void dbg_efi_openers | ( | EFI_HANDLE | handle, |
| EFI_GUID * | protocol | ||
| ) |
Print list of openers of a given protocol on a given handle.
| handle | EFI handle |
| protocol | Protocol GUID |
Definition at line 145 of file efi_debug.c.
References EFI_SYSTEM_TABLE::BootServices, count, dbg_efi_opener(), EEFI, efi_guid_ntoa(), efi_handle_name(), efi_systab, EFI_BOOT_SERVICES::FreePool, handle, EFI_BOOT_SERVICES::OpenProtocolInformation, printf(), protocol, rc, and strerror().
Referenced by dbg_efi_protocol().
| void dbg_efi_protocol | ( | EFI_HANDLE | handle, |
| EFI_GUID * | protocol | ||
| ) |
Print protocol information on a given handle.
| handle | EFI handle |
| protocol | Protocol GUID |
Definition at line 185 of file efi_debug.c.
References dbg_efi_openers(), efi_guid_ntoa(), efi_handle_name(), efi_open, handle, printf(), protocol, rc, strerror(), and VOID.
Referenced by dbg_efi_protocols().
| void dbg_efi_protocols | ( | EFI_HANDLE | handle | ) |
Print list of protocol handlers attached to a handle.
| handle | EFI handle |
Definition at line 208 of file efi_debug.c.
References EFI_SYSTEM_TABLE::BootServices, count, dbg_efi_protocol(), EEFI, efi_handle_name(), efi_systab, EFI_BOOT_SERVICES::FreePool, handle, printf(), EFI_BOOT_SERVICES::ProtocolsPerHandle, rc, and strerror().
| unsigned long efi_stack_cookie | ( | EFI_HANDLE | handle | ) |
Construct a stack cookie value.
| handle | Image handle |
| cookie | Stack cookie |
Definition at line 114 of file efi_init.c.
References __BIG_ENDIAN, __BYTE_ORDER, build_id, handle, profile_timestamp(), and rotation.
Referenced by efi_init_stack_guard().
| void __stack_chk_fail | ( | void | ) |
Abort on stack check failure.
Definition at line 355 of file efi_init.c.
References __stack_chk_guard, DBGC, EEFI, EFI_COMPROMISED_DATA, efi_exit, efi_image_handle, efi_systab, NULL, rc, and strerror().
|
inlinestatic |
Initialise stack cookie.
| handle | Image handle |
Definition at line 383 of file efi.h.
References __stack_chk_guard, efi_stack_cookie(), and handle.
Referenced by _efi_start(), and _efidrv_start().
| EFI_STATUS efi_init | ( | EFI_HANDLE | image_handle, |
| EFI_SYSTEM_TABLE * | systab | ||
| ) |
Initialise EFI environment.
| image_handle | Image handle |
| systab | System table |
| efirc | EFI return status code |
Definition at line 154 of file efi_init.c.
References EFI_BOOT_SERVICES::AllocatePool, EFI_SYSTEM_TABLE::BootServices, EFI_BOOT_SERVICES::CloseEvent, EFI_SYSTEM_TABLE::ConOut, EFI_BOOT_SERVICES::CreateEvent, DBGC, device_path, EFI_LOADED_IMAGE_PROTOCOL::DeviceHandle, EEFI, efi_cmdline, efi_cmdline_len, EFI_CONFIG_TABLES, efi_device_path_protocol_guid, efi_devpath_text(), efi_driver_install(), efi_driver_uninstall(), efi_exit, efi_find_table(), efi_guid_ntoa(), efi_image_handle, efi_loaded_image, efi_loaded_image_path, efi_loaded_image_protocol_guid, EFI_NOT_AVAILABLE_YET, efi_open, efi_open_unsafe, efi_path_len(), EFI_PROTOCOLS, efi_shutdown_event, efi_shutdown_hook(), efi_systab, efi_unload(), EfiBootServicesData, EFIRC, EVT_SIGNAL_EXIT_BOOT_SERVICES, EFI_BOOT_SERVICES::Exit, for_each_table_entry, EFI_BOOT_SERVICES::FreePool, efi_protocol::guid, efi_config_table::guid, EFI_LOADED_IMAGE_PROTOCOL::ImageBase, EFI_LOADED_IMAGE_PROTOCOL::LoadOptions, EFI_LOADED_IMAGE_PROTOCOL::LoadOptionsSize, EFI_BOOT_SERVICES::LocateProtocol, memcpy(), NULL, efi_protocol::protocol, rc, efi_protocol::required, efi_config_table::required, EFI_SYSTEM_TABLE::RuntimeServices, strerror(), efi_config_table::table, TPL_NOTIFY, and EFI_LOADED_IMAGE_PROTOCOL::Unload.
Referenced by _efi_start(), and _efidrv_start().
| void efi_raise_tpl | ( | struct efi_saved_tpl * | tpl | ) |
Raise task priority level to internal level.
| tpl | Saved TPL |
Definition at line 382 of file efi_init.c.
References EFI_SYSTEM_TABLE::BootServices, efi_saved_tpl::current, efi_external_tpl, efi_internal_tpl, efi_systab, efi_saved_tpl::previous, and EFI_BOOT_SERVICES::RaiseTPL.
Referenced by _efidrv_start(), efi_driver_start(), efi_driver_stop(), efi_snp_add_claim(), efi_snp_get_status(), efi_snp_initialize(), efi_snp_receive(), efi_snp_reset(), efi_snp_shutdown(), efi_snp_transmit(), efi_snp_wait_for_packet(), efi_unload(), efi_usb_async_interrupt_transfer(), efi_usb_bulk_transfer(), efi_usb_control_transfer(), efi_usb_get_string_descriptor(), efi_usb_sync_interrupt_transfer(), efi_vlan_find(), efi_vlan_remove(), and efi_vlan_set().
| void efi_restore_tpl | ( | struct efi_saved_tpl * | tpl | ) |
Restore task priority level.
| tpl | Saved TPL |
Definition at line 398 of file efi_init.c.
References EFI_SYSTEM_TABLE::BootServices, efi_saved_tpl::current, efi_external_tpl, efi_systab, efi_saved_tpl::previous, and EFI_BOOT_SERVICES::RestoreTPL.
Referenced by _efidrv_start(), efi_driver_start(), efi_driver_stop(), efi_snp_add_claim(), efi_snp_get_status(), efi_snp_initialize(), efi_snp_receive(), efi_snp_reset(), efi_snp_shutdown(), efi_snp_transmit(), efi_snp_wait_for_packet(), efi_unload(), efi_usb_async_interrupt_transfer(), efi_usb_bulk_transfer(), efi_usb_control_transfer(), efi_usb_get_string_descriptor(), efi_usb_sync_interrupt_transfer(), efi_vlan_find(), efi_vlan_remove(), and efi_vlan_set().
| int efi_open_untyped | ( | EFI_HANDLE | handle, |
| EFI_GUID * | protocol, | ||
| void ** | interface | ||
| ) |
Open (or test) protocol for ephemeral use.
| handle | EFI handle |
| protocol | Protocol GUID |
| interface | Protocol interface pointer to fill in (or NULL to test) |
| rc | Return status code |
Definition at line 96 of file efi_open.c.
References assert(), EFI_SYSTEM_TABLE::BootServices, EFI_BOOT_SERVICES::CloseProtocol, controller, EEFI, efi_image_handle, EFI_OPEN_PROTOCOL_GET_PROTOCOL, EFI_OPEN_PROTOCOL_TEST_PROTOCOL, efi_systab, handle, if(), NULL, protocol, and rc.
| int efi_open_unsafe_untyped | ( | EFI_HANDLE | handle, |
| EFI_GUID * | protocol, | ||
| void ** | interface | ||
| ) |
Open protocol for unsafe persistent use.
| handle | EFI handle |
| protocol | Protocol GUID |
| interface | Protocol interface pointer to fill in |
| rc | Return status code |
Definition at line 180 of file efi_open.c.
References assert(), EFI_SYSTEM_TABLE::BootServices, controller, EEFI, efi_image_handle, EFI_OPEN_PROTOCOL_GET_PROTOCOL, efi_systab, handle, NULL, EFI_BOOT_SERVICES::OpenProtocol, protocol, and rc.
| void efi_close_unsafe | ( | EFI_HANDLE | handle, |
| EFI_GUID * | protocol | ||
| ) |
Close protocol opened for unsafe persistent use.
| handle | EFI handle |
| protocol | Protocol GUID |
| child | Child controller handle |
Definition at line 218 of file efi_open.c.
References assert(), EFI_SYSTEM_TABLE::BootServices, EFI_BOOT_SERVICES::CloseProtocol, controller, efi_image_handle, efi_systab, handle, NULL, and protocol.
Referenced by efi_bofm_start(), nii_pci_close(), and nii_pci_open().
| int efi_open_by_driver_untyped | ( | EFI_HANDLE | handle, |
| EFI_GUID * | protocol, | ||
| void ** | interface | ||
| ) |
Open protocol for persistent use by a driver.
| handle | EFI handle |
| protocol | Protocol GUID |
| interface | Protocol interface pointer to fill in |
| rc | Return status code |
Definition at line 240 of file efi_open.c.
References assert(), EFI_SYSTEM_TABLE::BootServices, controller, EEFI, efi_image_handle, EFI_OPEN_PROTOCOL_BY_DRIVER, EFI_OPEN_PROTOCOL_EXCLUSIVE, efi_systab, handle, NULL, EFI_BOOT_SERVICES::OpenProtocol, protocol, and rc.
| void efi_close_by_driver | ( | EFI_HANDLE | handle, |
| EFI_GUID * | protocol | ||
| ) |
Close protocol opened for persistent use by a driver.
| handle | EFI handle |
| protocol | Protocol GUID |
Definition at line 278 of file efi_open.c.
References assert(), EFI_SYSTEM_TABLE::BootServices, EFI_BOOT_SERVICES::CloseProtocol, controller, efi_image_handle, efi_systab, handle, NULL, and protocol.
Referenced by efi_file_install(), efi_file_uninstall(), efi_snp_probe(), efi_snp_remove(), efipci_start(), efipci_stop(), mnpnet_start(), mnpnet_stop(), nii_start(), nii_stop(), snpnet_start(), snpnet_stop(), usbio_close(), usbio_start(), and usbio_stop().
| int efi_open_by_child_untyped | ( | EFI_HANDLE | handle, |
| EFI_GUID * | protocol, | ||
| EFI_HANDLE | child, | ||
| void ** | interface | ||
| ) |
Open protocol for persistent use by a child controller.
| handle | EFI handle |
| protocol | Protocol GUID |
| child | Child controller handle |
| interface | Protocol interface pointer to fill in |
| rc | Return status code |
Definition at line 301 of file efi_open.c.
References assert(), EFI_SYSTEM_TABLE::BootServices, controller, EEFI, efi_image_handle, EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER, efi_systab, handle, NULL, EFI_BOOT_SERVICES::OpenProtocol, protocol, and rc.
| void efi_close_by_child | ( | EFI_HANDLE | handle, |
| EFI_GUID * | protocol, | ||
| EFI_HANDLE | child | ||
| ) |
Close protocol opened for persistent use by a child controller.
| handle | EFI handle |
| protocol | Protocol GUID |
| child | Child controller handle |
Definition at line 343 of file efi_open.c.
References assert(), EFI_SYSTEM_TABLE::BootServices, EFI_BOOT_SERVICES::CloseProtocol, controller, efi_image_handle, efi_systab, handle, NULL, and protocol.
Referenced by efi_child_del().
| int efi_connect | ( | EFI_HANDLE | device, |
| EFI_HANDLE | driver | ||
| ) |
Connect UEFI driver(s)
| device | EFI device handle |
| driver | EFI driver handle, or NULL |
| rc | Return status code |
Definition at line 57 of file efi_connect.c.
References EFI_SYSTEM_TABLE::BootServices, EFI_BOOT_SERVICES::ConnectController, DBGC, EEFI_CONNECT, efi_external_tpl, efi_handle_name(), efi_internal_tpl, efi_systab, efi_tpl_name(), NULL, EFI_BOOT_SERVICES::RaiseTPL, rc, EFI_BOOT_SERVICES::RestoreTPL, strerror(), and TRUE.
Referenced by efi_block_connect(), efi_driver_connect(), efi_driver_reconnect(), and efi_usb_probe().
| int efi_disconnect | ( | EFI_HANDLE | device, |
| EFI_HANDLE | driver | ||
| ) |
Disconnect UEFI driver(s)
| device | EFI device handle |
| driver | EFI driver handle, or NULL |
| rc | Return status code |
Definition at line 89 of file efi_connect.c.
References EFI_SYSTEM_TABLE::BootServices, DBGC, EFI_BOOT_SERVICES::DisconnectController, EEFI, efi_external_tpl, efi_handle_name(), efi_internal_tpl, EFI_NOT_FOUND, efi_systab, efi_tpl_name(), NULL, EFI_BOOT_SERVICES::RaiseTPL, rc, EFI_BOOT_SERVICES::RestoreTPL, and strerror().
Referenced by efi_driver_disconnect(), efi_driver_exclude(), efi_usb_uninstall(), and efi_veto_disconnect().
| EFI_GUID efi_absolute_pointer_protocol_guid |
Absolute pointer protocol GUID.
Definition at line 113 of file efi_guid.c.
| EFI_GUID efi_acpi_table_protocol_guid |
ACPI table protocol GUID.
Definition at line 117 of file efi_guid.c.
| EFI_GUID efi_adapter_information_protocol_guid |
Adapter information protocol GUID.
Definition at line 121 of file efi_guid.c.
| EFI_GUID efi_apple_net_boot_protocol_guid |
Apple NetBoot protocol GUID.
Definition at line 125 of file efi_guid.c.
Referenced by efi_pxe_install(), and efi_pxe_uninstall().
| EFI_GUID efi_arp_protocol_guid |
ARP protocol GUID.
Definition at line 129 of file efi_guid.c.
| EFI_GUID efi_arp_service_binding_protocol_guid |
ARP service binding protocol GUID.
Definition at line 133 of file efi_guid.c.
| EFI_GUID efi_block_io_protocol_guid |
Block I/O protocol GUID.
Definition at line 137 of file efi_guid.c.
Referenced by efi_block_boot(), efi_block_hook(), efi_block_local(), efi_block_unhook(), efi_file_install(), and efi_file_uninstall().
| EFI_GUID efi_block_io2_protocol_guid |
Block I/O version 2 protocol GUID.
Definition at line 141 of file efi_guid.c.
| EFI_GUID efi_bus_specific_driver_override_protocol_guid |
Bus specific driver override protocol GUID.
Definition at line 145 of file efi_guid.c.
| EFI_GUID efi_component_name_protocol_guid |
Component name protocol GUID.
Definition at line 149 of file efi_guid.c.
Referenced by efi_binding_name(), and efi_veto_find().
| EFI_GUID efi_component_name2_protocol_guid |
Component name 2 protocol GUID.
Definition at line 153 of file efi_guid.c.
Referenced by efi_binding_name2(), efi_driver_controller_name(), efi_driver_install(), efi_driver_uninstall(), efi_snp_probe(), efi_snp_remove(), and efi_veto_find().
| EFI_GUID efi_console_control_protocol_guid |
Console control protocol GUID.
Definition at line 157 of file efi_guid.c.
| EFI_GUID efi_device_path_protocol_guid |
Device path protocol GUID.
Definition at line 161 of file efi_guid.c.
Referenced by efi_block_hook(), efi_block_match(), efi_block_scan(), efi_block_unhook(), efi_child_add(), efi_child_del(), efi_file_path_claim(), efi_file_path_install(), efi_file_path_uninstall(), efi_init(), efi_locate_device(), efi_snp_hii_install(), efi_snp_hii_uninstall(), efi_snp_probe(), efi_snp_remove(), efi_usb_install(), efi_usb_uninstall(), efidev_alloc(), and usbio_path().
| EFI_GUID efi_dhcp4_protocol_guid |
DHCPv4 protocol GUID.
Definition at line 165 of file efi_guid.c.
| EFI_GUID efi_dhcp4_service_binding_protocol_guid |
DHCPv4 service binding protocol GUID.
Definition at line 169 of file efi_guid.c.
| EFI_GUID efi_dhcp6_protocol_guid |
DHCPv6 protocol GUID.
Definition at line 173 of file efi_guid.c.
| EFI_GUID efi_dhcp6_service_binding_protocol_guid |
DHCPv6 service binding protocol GUID.
Definition at line 177 of file efi_guid.c.
| EFI_GUID efi_disk_io_protocol_guid |
Disk I/O protocol GUID.
Definition at line 181 of file efi_guid.c.
Referenced by efi_file_install(), and efi_file_uninstall().
| EFI_GUID efi_dns4_protocol_guid |
DNSv4 protocol GUID.
Definition at line 185 of file efi_guid.c.
| EFI_GUID efi_dns4_service_binding_protocol_guid |
DNSv4 service binding protocol GUID.
Definition at line 189 of file efi_guid.c.
| EFI_GUID efi_dns6_protocol_guid |
DNSv6 protocol GUID.
Definition at line 193 of file efi_guid.c.
| EFI_GUID efi_dns6_service_binding_protocol_guid |
DNSv6 service binding protocol GUID.
Definition at line 197 of file efi_guid.c.
| EFI_GUID efi_driver_binding_protocol_guid |
Driver binding protocol GUID.
Definition at line 201 of file efi_guid.c.
Referenced by efi_driver_install(), efi_driver_uninstall(), efi_veto(), efi_veto_find(), and efi_veto_uninstall().
| EFI_GUID efi_eap_configuration_protocol_guid |
EAP configuration protocol GUID.
Definition at line 205 of file efi_guid.c.
| EFI_GUID efi_graphics_output_protocol_guid |
Graphics output protocol GUID.
Definition at line 209 of file efi_guid.c.
Referenced by efifb_init().
| EFI_GUID efi_hii_config_access_protocol_guid |
HII configuration access protocol GUID.
Definition at line 213 of file efi_guid.c.
Referenced by efi_snp_hii_install(), and efi_snp_hii_uninstall().
| EFI_GUID efi_hii_font_protocol_guid |
| EFI_GUID efi_http_protocol_guid |
HTTP protocol GUID.
Definition at line 221 of file efi_guid.c.
| EFI_GUID efi_http_service_binding_protocol_guid |
HTTP service binding protocol GUID.
Definition at line 225 of file efi_guid.c.
| EFI_GUID efi_ip4_protocol_guid |
IPv4 protocol GUID.
Definition at line 229 of file efi_guid.c.
| EFI_GUID efi_ip4_config_protocol_guid |
IPv4 configuration protocol GUID.
Definition at line 233 of file efi_guid.c.
| EFI_GUID efi_ip4_config2_protocol_guid |
IPv4 configuration 2 protocol GUID.
Definition at line 237 of file efi_guid.c.
| EFI_GUID efi_ip4_service_binding_protocol_guid |
IPv4 service binding protocol GUID.
Definition at line 241 of file efi_guid.c.
| EFI_GUID efi_ip6_protocol_guid |
IPv6 protocol GUID.
Definition at line 245 of file efi_guid.c.
| EFI_GUID efi_ip6_config_protocol_guid |
IPv6 configuration protocol GUID.
Definition at line 249 of file efi_guid.c.
| EFI_GUID efi_ip6_service_binding_protocol_guid |
IPv6 service binding protocol GUID.
Definition at line 253 of file efi_guid.c.
| EFI_GUID efi_load_file_protocol_guid |
Load file protocol GUID.
Definition at line 257 of file efi_guid.c.
Referenced by efi_snp_probe(), and efi_snp_remove().
| EFI_GUID efi_load_file2_protocol_guid |
Load file 2 protocol GUID.
Definition at line 261 of file efi_guid.c.
Referenced by efi_file_path_install(), and efi_file_path_uninstall().
| EFI_GUID efi_loaded_image_protocol_guid |
Loaded image protocol GUID.
Definition at line 265 of file efi_guid.c.
Referenced by efi_dump_image(), efi_image_exec(), efi_init(), and efi_veto_find().
| EFI_GUID efi_loaded_image_device_path_protocol_guid |
Loaded image device path protocol GUID.
Definition at line 269 of file efi_guid.c.
| EFI_GUID efi_managed_network_protocol_guid |
Managed network protocol GUID.
Definition at line 273 of file efi_guid.c.
Referenced by mnpnet_start(), and mnpnet_stop().
| EFI_GUID efi_managed_network_service_binding_protocol_guid |
Managed network service binding protocol GUID.
Definition at line 277 of file efi_guid.c.
Referenced by mnp_supported(), mnpnet_start(), and mnpnet_stop().
| EFI_GUID efi_mtftp4_protocol_guid |
MTFTPv4 protocol GUID.
Definition at line 281 of file efi_guid.c.
| EFI_GUID efi_mtftp4_service_binding_protocol_guid |
MTFTPv4 service binding protocol GUID.
Definition at line 285 of file efi_guid.c.
| EFI_GUID efi_mtftp6_protocol_guid |
MTFTPv6 protocol GUID.
Definition at line 289 of file efi_guid.c.
| EFI_GUID efi_mtftp6_service_binding_protocol_guid |
MTFTPv6 service binding protocol GUID.
Definition at line 293 of file efi_guid.c.
| EFI_GUID efi_nii_protocol_guid |
Network interface identifier protocol GUID (old version)
Definition at line 297 of file efi_guid.c.
Referenced by efi_snp_probe(), and efi_snp_remove().
| EFI_GUID efi_nii31_protocol_guid |
Network interface identifier protocol GUID (new version)
Definition at line 301 of file efi_guid.c.
Referenced by efi_snp_probe(), efi_snp_remove(), nii_exclude(), nii_start(), nii_stop(), and nii_supported().
| EFI_GUID efi_pci_io_protocol_guid |
PCI I/O protocol GUID.
Definition at line 305 of file efi_guid.c.
Referenced by efi_bofm_start(), efi_device_info_pci(), efipci_exclude(), efipci_info(), efipci_start(), efipci_stop(), nii_pci_close(), and nii_pci_open().
| EFI_GUID efi_pci_root_bridge_io_protocol_guid |
PCI root bridge I/O protocol GUID.
Definition at line 309 of file efi_guid.c.
Referenced by efipci_discover_any(), efipci_discover_one(), and efipci_root_open().
| EFI_GUID efi_pxe_base_code_protocol_guid |
PXE base code protocol GUID.
Definition at line 313 of file efi_guid.c.
Referenced by efi_cachedhcp_record(), efi_pxe_install(), efi_pxe_uninstall(), and efi_shim_inhibit_pxe().
| EFI_GUID efi_rng_protocol_guid |
Random number generator protocol GUID.
Definition at line 317 of file efi_guid.c.
| EFI_GUID efi_serial_io_protocol_guid |
Serial I/O protocol GUID.
Definition at line 321 of file efi_guid.c.
| EFI_GUID efi_shim_lock_protocol_guid |
Shim lock protocol GUID.
Definition at line 325 of file efi_guid.c.
Referenced by efi_shim_is_sbatlevel(), and efi_shim_unlock().
| EFI_GUID efi_simple_file_system_protocol_guid |
Simple file system protocol GUID.
Definition at line 329 of file efi_guid.c.
Referenced by efi_block_root(), efi_block_scan(), efi_file_install(), efi_file_uninstall(), efi_local_open_root(), and efi_local_open_volume().
| EFI_GUID efi_simple_network_protocol_guid |
Simple network protocol GUID.
Definition at line 333 of file efi_guid.c.
Referenced by efi_set_autoboot_ll_addr(), efi_snp_probe(), efi_snp_remove(), snp_supported(), snpnet_exclude(), snpnet_insomniac_patch(), snpnet_insomniac_restore(), snpnet_start(), and snpnet_stop().
| EFI_GUID efi_simple_pointer_protocol_guid |
Simple pointer protocol GUID.
Definition at line 337 of file efi_guid.c.
| EFI_GUID efi_simple_text_input_protocol_guid |
Simple text input protocol GUID.
Definition at line 341 of file efi_guid.c.
| EFI_GUID efi_simple_text_input_ex_protocol_guid |
Simple text input extension protocol GUID.
Definition at line 345 of file efi_guid.c.
Referenced by efi_console_init().
| EFI_GUID efi_simple_text_output_protocol_guid |
Simple text output protocol GUID.
Definition at line 349 of file efi_guid.c.
| EFI_GUID efi_supplicant_protocol_guid |
Supplicant protocol GUID.
Definition at line 353 of file efi_guid.c.
| EFI_GUID efi_tcg_protocol_guid |
TCG protocol GUID.
Definition at line 357 of file efi_guid.c.
| EFI_GUID efi_tcg2_protocol_guid |
TCG2 protocol GUID.
Definition at line 361 of file efi_guid.c.
| EFI_GUID efi_tcp4_protocol_guid |
TCPv4 protocol GUID.
Definition at line 365 of file efi_guid.c.
| EFI_GUID efi_tcp4_service_binding_protocol_guid |
TCPv4 service binding protocol GUID.
Definition at line 369 of file efi_guid.c.
| EFI_GUID efi_tcp6_protocol_guid |
TCPv6 protocol GUID.
Definition at line 373 of file efi_guid.c.
| EFI_GUID efi_tcp6_service_binding_protocol_guid |
TCPv6 service binding protocol GUID.
Definition at line 377 of file efi_guid.c.
| EFI_GUID efi_tree_protocol_guid |
TrEE protocol GUID.
Definition at line 381 of file efi_guid.c.
| EFI_GUID efi_udp4_protocol_guid |
UDPv4 protocol GUID.
Definition at line 385 of file efi_guid.c.
| EFI_GUID efi_udp4_service_binding_protocol_guid |
UDPv4 service binding protocol GUID.
Definition at line 389 of file efi_guid.c.
| EFI_GUID efi_udp6_protocol_guid |
UDPv6 protocol GUID.
Definition at line 393 of file efi_guid.c.
| EFI_GUID efi_udp6_service_binding_protocol_guid |
UDPv6 service binding protocol GUID.
Definition at line 397 of file efi_guid.c.
| EFI_GUID efi_uga_draw_protocol_guid |
UGA draw protocol GUID.
Definition at line 401 of file efi_guid.c.
| EFI_GUID efi_unicode_collation_protocol_guid |
Unicode collation protocol GUID.
Definition at line 405 of file efi_guid.c.
| EFI_GUID efi_usb_hc_protocol_guid |
USB host controller protocol GUID.
Definition at line 409 of file efi_guid.c.
| EFI_GUID efi_usb2_hc_protocol_guid |
USB2 host controller protocol GUID.
Definition at line 413 of file efi_guid.c.
| EFI_GUID efi_usb_io_protocol_guid |
USB I/O protocol GUID.
Definition at line 417 of file efi_guid.c.
Referenced by efi_usb_install(), efi_usb_uninstall(), usbio_close(), usbio_exclude(), usbio_open(), usbio_start(), usbio_stop(), and usbio_supported().
| EFI_GUID efi_vlan_config_protocol_guid |
VLAN configuration protocol GUID.
Definition at line 421 of file efi_guid.c.
Referenced by efi_snp_probe(), and efi_snp_remove().
| EFI_GUID efi_wifi2_protocol_guid |
WiFi 2 protocol GUID.
Definition at line 425 of file efi_guid.c.
Referenced by chained_supported(), snpnet_is_insomniac(), and snpnet_supported().
| EFI_GUID efi_acpi_10_table_guid |
ACPI 1.0 table GUID.
Definition at line 429 of file efi_guid.c.
| EFI_GUID efi_acpi_20_table_guid |
ACPI 2.0 table GUID.
Definition at line 433 of file efi_guid.c.
| EFI_GUID efi_fdt_table_guid |
FDT table GUID.
Definition at line 437 of file efi_guid.c.
| EFI_GUID efi_smbios_table_guid |
SMBIOS table GUID.
Definition at line 441 of file efi_guid.c.
| EFI_GUID efi_smbios2_table_guid |
| EFI_GUID efi_cert_x509_guid |
X.509 certificate GUID.
Definition at line 448 of file efi_guid.c.
| EFI_GUID efi_file_info_id |
File information GUID.
Definition at line 451 of file efi_guid.c.
Referenced by efi_file_get_info(), and efi_local_len().
| EFI_GUID efi_file_system_info_id |
File system information GUID.
Definition at line 454 of file efi_guid.c.
Referenced by efi_block_label(), efi_file_get_info(), and efi_local_check_volume_name().
| EFI_GUID efi_global_variable |
Global variable GUID.
Definition at line 457 of file efi_guid.c.
Referenced by efi_boot_path(), efi_current_boot_path(), and efi_reboot().
| EFI_GUID efi_tls_ca_certificate_guid |
TLS CA certificate variable GUID.
Definition at line 460 of file efi_guid.c.
Referenced by efi_cacert_all().
| EFI_HANDLE efi_image_handle |
Image handle passed to entry point.
Definition at line 35 of file efi_init.c.
Referenced by __stack_chk_fail(), efi_block_exec(), efi_close_by_child(), efi_close_by_driver(), efi_close_unsafe(), efi_driver_install(), efi_driver_uninstall(), efi_image_exec(), efi_image_probe(), efi_init(), efi_open_by_child_untyped(), efi_open_by_driver_untyped(), efi_open_unsafe_untyped(), and efi_open_untyped().
| EFI_LOADED_IMAGE_PROTOCOL* efi_loaded_image |
Loaded image protocol for this image.
Definition at line 38 of file efi_init.c.
Referenced by _efi_start(), chained_locate(), efi_autoexec_filesystem(), efi_autoexec_load(), efi_autoexec_network(), efi_init(), efi_init_application(), and efi_local_open_path().
| EFI_DEVICE_PATH_PROTOCOL* efi_loaded_image_path |
Device path for the loaded image's device handle.
Definition at line 41 of file efi_init.c.
Referenced by efi_init(), efi_init_application(), efi_local_open_volume(), efi_path_net_probe(), and efi_unload().
| EFI_SYSTEM_TABLE* efi_systab |
Referenced by __stack_chk_fail(), dbg_efi_openers(), dbg_efi_protocols(), efi_allocate_pages_wrapper(), efi_allocate_pool_wrapper(), efi_block_boot(), efi_block_exec(), efi_block_hook(), efi_block_scan(), efi_block_unhook(), efi_bofm_start(), efi_bofm_supported(), efi_boot_path(), efi_cacert_all(), efi_check_event_wrapper(), efi_close_by_child(), efi_close_by_driver(), efi_close_event_wrapper(), efi_close_protocol_wrapper(), efi_close_unsafe(), efi_conin_name(), efi_connect(), efi_connect_controller_wrapper(), efi_conout_name(), efi_console_init(), efi_create_event_ex_wrapper(), efi_create_event_wrapper(), efi_current_boot_path(), efi_currticks(), efi_devpath_text(), efi_disconnect(), efi_disconnect_controller_wrapper(), efi_download_install(), efi_download_uninstall(), efi_driver_exclude(), efi_driver_handles(), efi_driver_install(), efi_driver_uninstall(), efi_entropy_disable(), efi_entropy_enable(), efi_entropy_tick(), efi_exit_boot_services_wrapper(), efi_exit_wrapper(), efi_fdt_init(), efi_file_install(), efi_file_path_claim(), efi_file_path_install(), efi_file_path_uninstall(), efi_file_uninstall(), efi_find_table(), efi_free_pages_wrapper(), efi_free_pool_wrapper(), efi_get_memory_map_wrapper(), efi_get_next_monotonic_count_wrapper(), efi_get_time(), efi_getchar(), efi_handle_cup(), efi_handle_dectcem_reset(), efi_handle_dectcem_set(), efi_handle_ed(), efi_handle_name(), efi_handle_protocol_wrapper(), efi_handle_sgr(), efi_image_exec(), efi_image_probe(), efi_init(), efi_install_configuration_table_wrapper(), efi_install_multiple_protocol_interfaces_wrapper(), efi_install_protocol_interface_wrapper(), efi_install_table(), efi_iskey(), efi_load_image_wrapper(), efi_local_open_volume(), efi_locate_device(), efi_locate_device_path_wrapper(), efi_locate_handle_buffer_wrapper(), efi_locate_handle_wrapper(), efi_locate_protocol_wrapper(), efi_open_by_child_untyped(), efi_open_by_driver_untyped(), efi_open_protocol_information_wrapper(), efi_open_protocol_wrapper(), efi_open_unsafe_untyped(), efi_open_untyped(), efi_poweroff(), efi_prescroll(), efi_protocols_per_handle_wrapper(), efi_putchar(), efi_pxe_install(), efi_pxe_uninstall(), efi_raise_tpl(), efi_raise_tpl_wrapper(), efi_reboot(), efi_register_protocol_notify_wrapper(), efi_reinstall_protocol_interface_wrapper(), efi_restore_tpl(), efi_restore_tpl_wrapper(), efi_set_timer_wrapper(), efi_set_watchdog_timer_wrapper(), efi_shim_get_memory_map(), efi_shim_install(), efi_shim_uninstall(), efi_shim_unlock(), efi_signal_event_wrapper(), efi_snp_hii_append(), efi_snp_hii_install(), efi_snp_hii_uninstall(), efi_snp_poll(), efi_snp_probe(), efi_snp_remove(), efi_stall_wrapper(), efi_start_image_wrapper(), efi_tick_shutdown(), efi_tick_startup(), efi_udelay(), efi_uninstall_multiple_protocol_interfaces_wrapper(), efi_uninstall_protocol_interface_wrapper(), efi_uninstall_table(), efi_unload(), efi_unload_image_wrapper(), efi_unwrap(), efi_urealloc(), efi_usb_async_start(), efi_usb_async_stop(), efi_usb_close(), efi_usb_get_string_descriptor(), efi_usb_install(), efi_usb_open(), efi_usb_uninstall(), efi_veto(), efi_veto_close(), efi_veto_close_handle(), efi_veto_close_protocol(), efi_veto_disconnect(), efi_veto_uninstall(), efi_veto_unload(), efi_vlan_find(), efi_wait_for_event_wrapper(), efi_watchdog_expired(), efi_watchdog_shutdown(), efi_wrap_bs(), efi_wrap_systab(), efifb_draw(), efifb_init(), efifb_select_mode(), efipci_discover_any(), efivars_fetch(), efivars_find(), mnpnet_close(), mnpnet_open(), mnpnet_poll_rx(), nii_block(), nii_issue_cpb_db(), nii_pci_open(), and usbio_open().
| EFI_TPL efi_internal_tpl |
Internal task priority level.
Definition at line 53 of file efi_init.c.
Referenced by efi_connect(), efi_currticks(), efi_disconnect(), efi_entropy_disable(), efi_raise_tpl(), efi_shutdown_hook(), and nii_issue_cpb_db().
| EFI_TPL efi_external_tpl |
External task priority level.
Definition at line 56 of file efi_init.c.
Referenced by efi_connect(), efi_currticks(), efi_disconnect(), efi_entropy_enable(), efi_raise_tpl(), and efi_restore_tpl().
| int efi_shutdown_in_progress |
EFI shutdown is in progress.
Definition at line 59 of file efi_init.c.
Referenced by efi_block_unhook(), efi_cpu_nap(), efi_currticks(), efi_pxe_uninstall(), efi_shutdown_hook(), efi_snp_hii_uninstall(), efi_snp_remove(), efi_usb_uninstall(), mnpnet_close(), mnpnet_poll(), mnpnet_stop(), mnpnet_transmit(), snpnet_close(), snpnet_poll(), snpnet_stop(), snpnet_transmit(), usbio_endpoint_enqueue(), and usbio_endpoint_poll().
| unsigned long __stack_chk_guard |
Stack cookie.
Definition at line 65 of file efi_init.c.
Referenced by __stack_chk_fail(), and efi_init_stack_guard().
1.8.15