From 22cef96dd9d10712636404d29176c08f8f6cb215 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Fri, 22 May 2020 10:09:16 +0200 Subject: [PATCH] : Switch to standard types for a few remaining cases. --- sys/platform/pc64/include/pc/bios.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/platform/pc64/include/pc/bios.h b/sys/platform/pc64/include/pc/bios.h index d4ce562466..8acae10352 100644 --- a/sys/platform/pc64/include/pc/bios.h +++ b/sys/platform/pc64/include/pc/bios.h @@ -31,7 +31,7 @@ #ifndef _MACHINE_PC_BIOS_H_ #define _MACHINE_PC_BIOS_H_ -u_int32_t bios_sigsearch(u_int32_t, u_char *, int, int, int); +uint32_t bios_sigsearch(uint32_t, unsigned char *, int, int, int); #define BIOS_PADDRTOVADDR(x) ((x) + KERNBASE) #define BIOS_VADDRTOPADDR(x) ((x) - KERNBASE) @@ -45,9 +45,9 @@ u_int32_t bios_sigsearch(u_int32_t, u_char *, int, int, int); #define SMAP_TYPE_MEMORY 1 struct bios_smap { - u_int64_t base; - u_int64_t length; - u_int32_t type; + uint64_t base; + uint64_t length; + uint32_t type; } __packed; /* -- 2.11.4.GIT