Date: Mon, 18 Jan 2016 15:43:00 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r294272 - stable/10/sys/amd64/include Message-ID: <201601181543.u0IFh0O7006485@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Mon Jan 18 15:43:00 2016 New Revision: 294272 URL: https://svnweb.freebsd.org/changeset/base/294272 Log: MFC r281381: Use explicitly sized types in EFI module metadata This will allow the same metadata struct to be used on all platforms. Modified: stable/10/sys/amd64/include/metadata.h Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/amd64/include/metadata.h ============================================================================== --- stable/10/sys/amd64/include/metadata.h Mon Jan 18 15:39:32 2016 (r294271) +++ stable/10/sys/amd64/include/metadata.h Mon Jan 18 15:43:00 2016 (r294272) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601181543.u0IFh0O7006485>