diff options
author | emaste <emaste@FreeBSD.org> | 2016-01-18 15:43:00 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-01-18 15:43:00 +0000 |
commit | 31c7f199a4dc4414b753983bbfd3c6e2a891e497 (patch) | |
tree | a55502da3ae609a4320f9b343f7843295da2981e /sys/amd64 | |
parent | e7a4f4fac24004ba950e92768c3874725616b678 (diff) | |
download | FreeBSD-src-31c7f199a4dc4414b753983bbfd3c6e2a891e497.zip FreeBSD-src-31c7f199a4dc4414b753983bbfd3c6e2a891e497.tar.gz |
MFC r281381: Use explicitly sized types in EFI module metadata
This will allow the same metadata struct to be used on all platforms.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/include/metadata.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/amd64/include/metadata.h b/sys/amd64/include/metadata.h index 7dc22bf..84b4ff2 100644 --- a/sys/amd64/include/metadata.h +++ b/sys/amd64/include/metadata.h @@ -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; |