Sat Dec 2 21:04:59 2017 UTC ()
Add padding to make the 32/64 bit structs the same.


(christos)
diff -r1.82 -r1.83 src/sys/arch/x86/include/cpu.h

cvs diff -r1.82 -r1.83 src/sys/arch/x86/include/cpu.h (expand / switch to context diff)
--- src/sys/arch/x86/include/cpu.h 2017/11/27 09:10:12 1.82
+++ src/sys/arch/x86/include/cpu.h 2017/12/02 21:04:59 1.83
@@ -1,4 +1,4 @@
-/*	$NetBSD: cpu.h,v 1.82 2017/11/27 09:10:12 maxv Exp $	*/
+/*	$NetBSD: cpu.h,v 1.83 2017/12/02 21:04:59 christos Exp $	*/
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -526,6 +526,7 @@
 
 struct disklist {
 	int dl_nbiosdisks;			   /* number of bios disks */
+	int dl_unused;
 	struct biosdisk_info {
 		int bi_dev;			   /* BIOS device # (0x80 ..) */
 		int bi_cyl;			   /* cylinders on disk */
@@ -535,6 +536,7 @@
 #define BIFLAG_INVALID		0x01
 #define BIFLAG_EXTINT13		0x02
 		int bi_flags;
+		int bi_unused;
 	} dl_biosdisks[MAX_BIOSDISKS];
 
 	int dl_nnativedisks;			   /* number of native disks */