<machine/pc/bios.h>: Switch to standard types for a few remaining cases.
authorSascha Wildner <saw@online.de>
Fri, 22 May 2020 08:09:16 +0000 (10:09 +0200)
committerSascha Wildner <saw@online.de>
Fri, 22 May 2020 08:09:16 +0000 (10:09 +0200)
sys/platform/pc64/include/pc/bios.h

index d4ce562..8acae10 100644 (file)
@@ -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;
 
 /*