PERFORCE change 28510 for review

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


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

Change 28510 by peter at peter_daintree on 2003/04/08 01:57:05

	the hacks in trap.c to counter faults restoring user segment registers are
	not needed here for the time being.

Affected files ...

.. //depot/projects/hammer/sys/x86_64/x86_64/trap.c#22 edit

Differences ...

==== //depot/projects/hammer/sys/x86_64/x86_64/trap.c#22 (text+ko) ====

@@ -398,18 +398,6 @@
 				frame.tf_rip = (long)doreti_iret_fault;
 				goto out;
 			}
-			if (frame.tf_rip == (long)doreti_popl_ds) {
-				frame.tf_rip = (long)doreti_popl_ds_fault;
-				goto out;
-			}
-			if (frame.tf_rip == (long)doreti_popl_es) {
-				frame.tf_rip = (long)doreti_popl_es_fault;
-				goto out;
-			}
-			if (frame.tf_rip == (long)doreti_popl_fs) {
-				frame.tf_rip = (long)doreti_popl_fs_fault;
-				goto out;
-			}
 			if (PCPU_GET(curpcb) != NULL &&
 			    PCPU_GET(curpcb)->pcb_onfault != NULL) {
 				frame.tf_rip =


More information about the p4-projects mailing list