Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/m68k/include Added the crucial "packed" attribute t...



details:   https://anonhg.NetBSD.org/src/rev/0cbc156ee87b
branches:  trunk
changeset: 513888:0cbc156ee87b
user:      fredette <fredette%NetBSD.org@localhost>
date:      Thu Aug 16 23:45:12 2001 +0000

description:
Added the crucial "packed" attribute to the type 8 frame structure.

diffstat:

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

diffs (18 lines):

diff -r ce3c29bedc10 -r 0cbc156ee87b sys/arch/m68k/include/frame.h
--- a/sys/arch/m68k/include/frame.h     Thu Aug 16 22:31:24 2001 +0000
+++ b/sys/arch/m68k/include/frame.h     Thu Aug 16 23:45:12 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: frame.h,v 1.17 2001/03/28 23:08:15 fredette Exp $      */
+/*     $NetBSD: frame.h,v 1.18 2001/08/16 23:45:12 fredette Exp $      */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -95,7 +95,7 @@
                        u_short f_irc;
                        u_short f_maskpc;
                        u_short f_iregs[15];
-               } F_fmt8;
+               } __attribute__((packed)) F_fmt8;
 
                struct fmt9 {
                        u_int   f_iaddr;



Home | Main Index | Thread Index | Old Index