Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/efi.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | enum efi_reset { | ||||
EFI_RESET_SHUTDOWN = 2, | EFI_RESET_SHUTDOWN = 2, | ||||
}; | }; | ||||
typedef uint16_t efi_char; | typedef uint16_t efi_char; | ||||
typedef unsigned long efi_status; | typedef unsigned long efi_status; | ||||
struct efi_cfgtbl { | struct efi_cfgtbl { | ||||
struct uuid ct_uuid; | struct uuid ct_uuid; | ||||
uint64_t ct_data; | void *ct_data; | ||||
kib: This way it was compat32-clean. | |||||
kevansAuthorUnsubmitted Done Inline ActionsWe don't export these anywhere that compat32 would matter, AFAICT, but we'll need to introduce another type if we start to since we use this guy for table traversal and one could seemingly, with a little work, enable efirt on armv7 if u-boot made it enticing enough. kevans: We don't export these anywhere that compat32 would matter, AFAICT, but we'll need to introduce… | |||||
jrtc27Unsubmitted Not Done Inline ActionsIt wasn't CHERI-clean though... :) jrtc27: It wasn't CHERI-clean though... :) | |||||
}; | }; | ||||
struct efi_md { | struct efi_md { | ||||
uint32_t md_type; | uint32_t md_type; | ||||
#define EFI_MD_TYPE_NULL 0 | #define EFI_MD_TYPE_NULL 0 | ||||
#define EFI_MD_TYPE_CODE 1 /* Loader text. */ | #define EFI_MD_TYPE_CODE 1 /* Loader text. */ | ||||
#define EFI_MD_TYPE_DATA 2 /* Loader data. */ | #define EFI_MD_TYPE_DATA 2 /* Loader data. */ | ||||
#define EFI_MD_TYPE_BS_CODE 3 /* Boot services text. */ | #define EFI_MD_TYPE_BS_CODE 3 /* Boot services text. */ | ||||
▲ Show 20 Lines • Show All 135 Lines • Show Last 20 Lines |
This way it was compat32-clean.