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 void *stderr_handle
30 80 EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL*
31 88 EFI_RUNTIME_SERVICES *runtime_services;
32 96 EFI_BOOT_SERVICES *boot_services;
33 uint64_t num_of_table_entries;
34 EFI_CONFIGURATION_TABLE *cfg_table;
36 EFI_BOOT_SERVICES signature: 0x56524553544f4f42
51 128 EFI_INSTALL_PROTOCOL_INTERFACE
52 136 EFI_REINSTALL_PROTOCOL_INTERFACE
53 144 EFI_UNINSTALL_PROTOCOL_INTERFACE
54 152 EFI_HANDLE_PROTOCOL
56 168 EFI_REGISTER_PROTOCOL_NOTIFY
58 184 EFI_LOCATE_DEVICE_PATH
59 192 EFI_INSTALL_CONFIGURATION_TABLE
64 232 EFI_EXIT_BOOT_SERVICES
67 EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL {
70 16 EFI_TEXT_TEST_STRING
71 24 EFI_TEXT_QUERY_MODE
73 40 EFI_TEXT_SET_ATTRIBUTE
74 48 EFI_TEXT_CLEAR_SCREEN
75 56 EFI_TEXT_SET_CURSOR_POSITION
76 64 EFI_TEXT_ENABLE_CURSOR
77 72 SIMPLE_TEXT_OUPUT_MODE *mode;