PERFORCE change 28508 for review

Peter Wemm peter at FreeBSD.org
Tue Apr 8 01:55:55 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=28508

Change 28508 by peter at 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_ */


More information about the p4-projects mailing list