Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2003 01:55:53 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 28508 for review
Message-ID:  <200304080855.h388trxM012131@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=28508

Change 28508 by peter@peter_daintree on 2003/04/08 01:55:11

	drop the segment registers, thats one more thing to go wrong for now.

Affected files ...

.. //depot/projects/hammer/sys/x86_64/include/frame.h#6 edit

Differences ...

==== //depot/projects/hammer/sys/x86_64/include/frame.h#6 (text+ko) ====

@@ -49,9 +49,6 @@
  */
 
 struct trapframe {
-	int64_t	tf_fs;
-	int64_t	tf_es;
-	int64_t	tf_ds;
 	int64_t	tf_r15;
 	int64_t	tf_r14;
 	int64_t	tf_r13;
@@ -82,9 +79,6 @@
 
 struct intrframe {
 	int64_t	if_vec;
-	int64_t	if_fs;
-	int64_t	if_es;
-	int64_t	if_ds;
 	int64_t	if_r15;
 	int64_t	if_r14;
 	int64_t	if_r13;
@@ -115,9 +109,6 @@
 
 struct clockframe {
 	int64_t	cf_vec;
-	int64_t	cf_fs;
-	int64_t	cf_es;
-	int64_t	cf_ds;
 	int64_t	cf_r15;
 	int64_t	cf_r14;
 	int64_t	cf_r13;
@@ -146,6 +137,6 @@
 
 int	kdb_trap(int, int, struct trapframe *);
 
-#define	INTR_TO_TRAPFRAME(frame) ((struct trapframe *)&(frame)->if_fs)
+#define	INTR_TO_TRAPFRAME(frame) ((struct trapframe *)&(frame)->if_r15)
 
 #endif /* _MACHINE_FRAME_H_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304080855.h388trxM012131>