Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/include Replace the trapframe fields for segme...
details: https://anonhg.NetBSD.org/src/rev/449c6d715aab
branches: trunk
changeset: 765682:449c6d715aab
user: dsl <dsl%NetBSD.org@localhost>
date: Thu Jun 02 18:46:51 2011 +0000
description:
Replace the trapframe fields for segment registers with two uint16_t
fields - one of which is an explicit pad.
diffstat:
sys/arch/i386/include/frame.h | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 8488b55f9496 -r 449c6d715aab sys/arch/i386/include/frame.h
--- a/sys/arch/i386/include/frame.h Thu Jun 02 17:49:40 2011 +0000
+++ b/sys/arch/i386/include/frame.h Thu Jun 02 18:46:51 2011 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index