Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/include Add padding to make the 32/64 bit struc...



details:   https://anonhg.NetBSD.org/src/rev/f6122d15aa18
branches:  trunk
changeset: 357912:f6122d15aa18
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Dec 02 21:04:59 2017 +0000

description:
Add padding to make the 32/64 bit structs the same.

diffstat:

 sys/arch/x86/include/cpu.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r c5da8ccd88ac -r f6122d15aa18 sys/arch/x86/include/cpu.h
--- a/sys/arch/x86/include/cpu.h        Sat Dec 02 18:56:18 2017 +0000
+++ b/sys/arch/x86/include/cpu.h        Sat Dec 02 21:04:59 2017 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index