From 31c7f199a4dc4414b753983bbfd3c6e2a891e497 Mon Sep 17 00:00:00 2001 From: emaste Date: Mon, 18 Jan 2016 15:43:00 +0000 Subject: [PATCH] MFC r281381: Use explicitly sized types in EFI module metadata This will allow the same metadata struct to be used on all platforms. --- sys/amd64/include/metadata.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/amd64/include/metadata.h b/sys/amd64/include/metadata.h index 7dc22bf6db94..84b4ff207c43 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;