PERFORCE change 28568 for review

Peter Wemm peter at FreeBSD.org
Tue Apr 8 15:35:14 PDT 2003


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

Change 28568 by peter at peter_daintree on 2003/04/08 15:34:50

	setidt() takes less args now.

Affected files ...

.. //depot/projects/hammer/sys/x86_64/isa/intr_machdep.c#11 edit

Differences ...

==== //depot/projects/hammer/sys/x86_64/isa/intr_machdep.c#11 (text+ko) ====

@@ -375,7 +375,7 @@
 	intr_unit[intr] = arg;
 	setidt(ICU_OFFSET + intr,
 	       flags & INTR_FAST ? fastintr[intr] : slowintr[intr],
-	       SDT_SYSIGT, SEL_KPL, GSEL(GCODE_SEL, SEL_KPL));
+	       SDT_SYSIGT, 0);
 	INTREN(1 << intr);
 	mtx_unlock_spin(&icu_lock);
 	intr_restore(crit);
@@ -403,8 +403,7 @@
 	intr_countp[intr] = &intrcnt[1 + intr];
 	intr_handler[intr] = isa_strayintr;
 	intr_unit[intr] = &intr_unit[intr];
-	setidt(ICU_OFFSET + intr, slowintr[intr], SDT_SYSIGT, SEL_KPL,
-	    GSEL(GCODE_SEL, SEL_KPL));
+	setidt(ICU_OFFSET + intr, slowintr[intr], SDT_SYSIGT, 0);
 	mtx_unlock_spin(&icu_lock);
 	intr_restore(crit);
 	return (0);


More information about the p4-projects mailing list