Use explicitly sized types in EFI module metadata
This will allow the same metadata struct to be used on all platforms. Differential Revision: https://reviews.freebsd.org/D2275 Reviewed by: jhb
This commit is contained in:
parent
77d9811f99
commit
f81c3bc31e
@ -37,17 +37,17 @@
|
||||
#define MODINFOMD_MODULEP 0x1006
|
||||
|
||||
struct efi_map_header {
|
||||
size_t memory_size;
|
||||
size_t descriptor_size;
|
||||
uint64_t memory_size;
|
||||
uint64_t descriptor_size;
|
||||
uint32_t descriptor_version;
|
||||
};
|
||||
|
||||
struct efi_fb {
|
||||
uint64_t fb_addr;
|
||||
uint64_t fb_size;
|
||||
int fb_height;
|
||||
int fb_width;
|
||||
int fb_stride;
|
||||
uint32_t fb_height;
|
||||
uint32_t fb_width;
|
||||
uint32_t fb_stride;
|
||||
uint32_t fb_mask_red;
|
||||
uint32_t fb_mask_green;
|
||||
uint32_t fb_mask_blue;
|
||||
|
Loading…
Reference in New Issue
Block a user