typedef struct EFI_TIME { ... } EFI_TIME; Topics Instance Properties Day Daylight Hour Minute Month Nanosecond Pad1 Pad2 Second TimeZone Year See Also EFI EFI_CONFIGURATION_TABLE_32 EFI_CONFIGURATION_TABLE_64 EFI_GUID EFI_MEMORY_DESCRIPTOR EFI_RUNTIME_SERVICES_32 EFI_RUNTIME_SERVICES_64 EFI...
typedef struct EFI_TIME { ... } EFI_TIME; Topics Instance Properties Day Daylight Hour Minute Month Nanosecond Pad1 Pad2 Second TimeZone Year See Also EFI EFI_CONFIGURATION_TABLE_32 EFI_CONFIGURATION_TABLE_64 EFI_GUID EFI_MEMORY_DESCRIPTOR EFI_RUNTIME_SERVICES_32 EFI_RUNTIME_SERVICES_64 EFI...
status= efi_call_virt(get_time, (efi_time_t *)arg1, (efi_time_cap_t*)arg2); ... 这个函数算是调用runtime service的一个入口。在里面有所有可用的runtime service。调用入口是一个宏: 1 2 3 4 5 6 /* * Wrap around the new efi_call_virt_generic() macros so that the * code doesn'...
void *set_time; void *get_wakeup_time; void *set_wakeup_time; void *set_virtual_address_map; void *convert_pointer; efi_status_t (EFIAPI *get_time)(struct efi_time *time, struct efi_time_cap *capabilities); efi_status_t (EFIAPI *set_time)(struct efi_time *time); efi_status_t...
struct efi_time_cap *capabilities); efi_status_t efi_get_time_init(void); #ifdef CONFIG_CMD_BOOTEFI_SELFTEST /* 5 changes: 0 additions & 5 deletions 5 lib/efi_loader/efi_runtime.c Original file line numberDiff line numberDiff line change @@ -174,11 +174,6 @@ efi_status_t __...
值 IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER、IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER 和 IMAGE_SUBSYSTEM_EFI_ROM 与 PCR[2] 对应。 值 IMAGE_SUBSYSTEM_EFI_APPLICATION 与 PCR[4] 对应。 如果加载的映像是某种其他类型,则必须将它记录在 PCR[4] 中。 LoadImage 由于 (a) 签名验证失败或 (b) 映像不符合当前...
efi_memory_desc_t *memory_map, *runtime_map; efi_status_t status; int runtime_entry_count; struct efi_boot_memmap map; struct exit_boot_struct priv; map.map = &runtime_map; map.map_size = &map_size; map.desc_size = &desc_size; ...
当我运行efibootmgr列出所有引导选项时,输出如下: $ efibootmgr BootCurrent: 0003 Timeout: 1 seconds BootOrder: 0000,0002,0003,0001 Boot0000* (my linux distro grub boot) Boot0001* file Boot0002* Windows Boot Manager Boot0003* (my linux distro systemd-boot) 当我想看到更详细的输出时,我会看到以...
typedef struct _Gloable_Variable_Table { int Id; char Name[80]; } Global_Variable_Table; Global_Variable_Table gGlobalVariableTable[] = { {EFI_LANG_CODES_VARIABLE_NAME, "LangCodes"}, {EFI_LANG_VARIABLE_NAME, "Lang"}, {EFI_TIME_OUT_VARIABLE_NAME, "Timeout"}, ...
typedef struct _EFI_QUERY_VARIABLE_INFO_OUT { EFI_VARIABLE_STATUS EfiStatus; ULONGLONG MaximumVariableStorageSize; ULONGLONG RemainingVariableStorageSize; ULONGLONG MaximumVariableSize; } EFI_QUERY_VARIABLE_INFO_OUT, *PEFI_QUERY_VARIABLE_INFO_OUT; 成員 EfiStatus MaximumVariableStora...