MFC r281381: Use explicitly sized types in EFI module metadata
This will allow the same metadata struct to be used on all platforms.
This commit is contained in:
parent
e7a4f4fac2
commit
31c7f199a4
@ -36,17 +36,17 @@
|
||||
#define MODINFOMD_EFI_FB 0x1005
|
||||
|
||||
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