svn commit: r294272 - stable/10/sys/amd64/include
Ed Maste
emaste at FreeBSD.org
Mon Jan 18 15:43:02 UTC 2016
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;
More information about the svn-src-stable-10
mailing list