Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mvmeppc/include Add a 'packed' attribute to the boo...



details:   https://anonhg.NetBSD.org/src/rev/c3334e370a5b
branches:  trunk
changeset: 550031:c3334e370a5b
user:      scw <scw%NetBSD.org@localhost>
date:      Mon Jul 28 09:22:56 2003 +0000

description:
Add a 'packed' attribute to the bootinfo structure.

diffstat:

 sys/arch/mvmeppc/include/bootinfo.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e5dcb9648c12 -r c3334e370a5b sys/arch/mvmeppc/include/bootinfo.h
--- a/sys/arch/mvmeppc/include/bootinfo.h       Mon Jul 28 08:59:52 2003 +0000
+++ b/sys/arch/mvmeppc/include/bootinfo.h       Mon Jul 28 09:22:56 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootinfo.h,v 1.1 2002/02/27 21:02:14 scw Exp $ */
+/*     $NetBSD: bootinfo.h,v 1.2 2003/07/28 09:22:56 scw Exp $ */
 
 #ifndef _MVMEPPC_BOOTINFO
 #define _MVMEPPC_BOOTINFO
@@ -22,7 +22,7 @@
        u_int32_t       bi_mpuspeed;
        u_int32_t       bi_busspeed;
        u_int32_t       bi_clocktps;
-};
+} __attribute__((packed));
 
 #ifdef _KERNEL
 extern struct mvmeppc_bootinfo bootinfo;



Home | Main Index | Thread Index | Old Index