Module Name:    src
Committed By:   dsl
Date:           Thu Jun  2 18:46:51 UTC 2011

Modified Files:
        src/sys/arch/i386/include: frame.h

Log Message:
Replace the trapframe fields for segment registers with two uint16_t
fields - one of which is an explicit pad.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/i386/include/frame.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/include/frame.h
diff -u src/sys/arch/i386/include/frame.h:1.33 src/sys/arch/i386/include/frame.h:1.34
--- src/sys/arch/i386/include/frame.h:1.33	Fri Nov 14 13:05:34 2008
+++ src/sys/arch/i386/include/frame.h	Thu Jun  2 18:46:51 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: frame.h,v 1.33 2008/11/14 13:05:34 ad Exp $	*/
+/*	$NetBSD: frame.h,v 1.34 2011/06/02 18:46:51 dsl Exp $	*/
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -77,10 +77,14 @@
  * Exception/Trap Stack Frame
  */
 struct trapframe {
-	int	tf_gs;
-	int	tf_fs;
-	int	tf_es;
-	int	tf_ds;
+	uint16_t	tf_gs;
+	uint16_t	tf_gs_pad;
+	uint16_t	tf_fs;
+	uint16_t	tf_fs_pad;
+	uint16_t	tf_es;
+	uint16_t	tf_es_pad;
+	uint16_t	tf_ds;
+	uint16_t	tf_ds_pad;
 	int	tf_edi;
 	int	tf_esi;
 	int	tf_ebp;

Reply via email to