Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/include ELF adaption, clockframe must be packed.



details:   https://anonhg.NetBSD.org/src/rev/a1740af53c42
branches:  trunk
changeset: 514681:a1740af53c42
user:      thomas <thomas%NetBSD.org@localhost>
date:      Sat Sep 08 11:16:43 2001 +0000

description:
ELF adaption, clockframe must be packed.

diffstat:

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

diffs (18 lines):

diff -r 2fefb90da40a -r a1740af53c42 sys/arch/atari/include/cpu.h
--- a/sys/arch/atari/include/cpu.h      Sat Sep 08 11:15:35 2001 +0000
+++ b/sys/arch/atari/include/cpu.h      Sat Sep 08 11:16:43 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.37 2001/05/30 12:28:40 mrg Exp $     */
+/*     $NetBSD: cpu.h,v 1.38 2001/09/08 11:16:43 thomas Exp $  */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -92,7 +92,7 @@
        u_short cf_sr;          /* sr at time of interrupt      */
        u_long  cf_pc;          /* pc at time of interrupt      */
        u_short cf_vo;          /* vector offset (4-word frame) */
-};
+} __attribute__((packed));
 
 #define        CLKF_USERMODE(framep)   (((framep)->cf_sr & PSL_S) == 0)
 #define        CLKF_BASEPRI(framep)    (((framep)->cf_sr & PSL_IPL) == 0)



Home | Main Index | Thread Index | Old Index