7 rdx: efi system table pointer
10 after loading call EFI_BOOT_SERVICES.ExitBootServices()
12 struct EFI_TABLE_HEADER {
20 EFI_SYSTEM_TABLE signature: 0x5453595320494249
22 24 wchar_t *firmware_vendor
23 32 uint32_t firmware_revision
25 40 void *console_in_handle
26 48 EFI_SIMPLE_TEXT_INPUT_PROTOCOL*
27 56 void *console_out_handle
28 64 EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL*
29 72 EFI_RUNTIME_SERVICES *runtime_services;
30 80 EFI_BOOT_SERVICES *boot_services;
31 uint64_t num_of_table_entries;
32 EFI_CONFIGURATION_TABLE *cfg_table;
34 EFI_BOOT_SERVICES signature: 0x56524553544f4f42
49 128 EFI_INSTALL_PROTOCOL_INTERFACE
50 136 EFI_REINSTALL_PROTOCOL_INTERFACE
51 144 EFI_UNINSTALL_PROTOCOL_INTERFACE
52 152 EFI_HANDLE_PROTOCOL
54 168 EFI_REGISTER_PROTOCOL_NOTIFY
56 184 EFI_LOCATE_DEVICE_PATH
57 192 EFI_INSTALL_CONFIGURATION_TABLE
62 232 EFI_EXIT_BOOT_SERVICES
65 EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL {
68 16 EFI_TEXT_TEST_STRING
69 24 EFI_TEXT_QUERY_MODE
71 40 EFI_TEXT_SET_ATTRIBUTE
72 48 EFI_TEXT_CLEAR_SCREEN
73 56 EFI_TEXT_SET_CURSOR_POSITION
74 64 EFI_TEXT_ENABLE_CURSOR
75 72 SIMPLE_TEXT_OUPUT_MODE *mode;