PERFORCE change 28159 for review

Peter Wemm peter at FreeBSD.org
Fri Apr 4 20:13:29 PST 2003


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

Change 28159 by peter at peter_overcee on 2003/04/04 20:13:01

	we wont be saving %gs in the trapframe for now.  We should, but I
	dont have to just yet.  When we start using the swapgs instruction
	for fast syscalls, we will have to use %gs for local storage rather
	than %fs, which means we'll save/restore %gs instead of %fs.  This
	segment saving thing is all up in the air anyway and is probably
	bogus since there aren't segment registers in the i386 sense.

Affected files ...

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

Differences ...

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

@@ -49,7 +49,6 @@
  */
 
 struct trapframe {
-	int64_t	tf_gs;
 	int64_t	tf_fs;
 	int64_t	tf_es;
 	int64_t	tf_ds;
@@ -83,7 +82,6 @@
 
 struct intrframe {
 	int64_t	if_vec;
-	int64_t	if_gs;
 	int64_t	if_fs;
 	int64_t	if_es;
 	int64_t	if_ds;
@@ -117,7 +115,6 @@
 
 struct clockframe {
 	int64_t	cf_vec;
-	int64_t	cf_gs;
 	int64_t	cf_fs;
 	int64_t	cf_es;
 	int64_t	cf_ds;


More information about the p4-projects mailing list