Skip to content
Snippets Groups Projects
efi_boottime.c 26.5 KiB
Newer Older
  • Learn to ignore specific revisions
  • 	.exit = efi_exit,
    
    	.unload_image = efi_unload_image,
    	.exit_boot_services = efi_exit_boot_services,
    	.get_next_monotonic_count = efi_get_next_monotonic_count,
    	.stall = efi_stall,
    	.set_watchdog_timer = efi_set_watchdog_timer,
    	.connect_controller = efi_connect_controller,
    	.disconnect_controller = efi_disconnect_controller,
    	.open_protocol = efi_open_protocol,
    	.close_protocol = efi_close_protocol,
    	.open_protocol_information = efi_open_protocol_information,
    	.protocols_per_handle = efi_protocols_per_handle,
    	.locate_handle_buffer = efi_locate_handle_buffer,
    	.locate_protocol = efi_locate_protocol,
    	.install_multiple_protocol_interfaces = efi_install_multiple_protocol_interfaces,
    	.uninstall_multiple_protocol_interfaces = efi_uninstall_multiple_protocol_interfaces,
    	.calculate_crc32 = efi_calculate_crc32,
    	.copy_mem = efi_copy_mem,
    	.set_mem = efi_set_mem,
    };
    
    
    
    static uint16_t __efi_runtime_data firmware_vendor[] =
    
    	{ 'D','a','s',' ','U','-','b','o','o','t',0 };
    
    
    struct efi_system_table __efi_runtime_data systab = {
    
    	.hdr = {
    		.signature = EFI_SYSTEM_TABLE_SIGNATURE,
    		.revision = 0x20005, /* 2.5 */
    		.headersize = sizeof(struct efi_table_hdr),
    	},
    	.fw_vendor = (long)firmware_vendor,
    	.con_in = (void*)&efi_con_in,
    	.con_out = (void*)&efi_con_out,
    	.std_err = (void*)&efi_con_out,
    	.runtime = (void*)&efi_runtime_services,
    	.boottime = (void*)&efi_boot_services,
    	.nr_tables = 0,
    	.tables = (void*)efi_conf_table,
    };