PERFORCE change 38820 for review

Peter Wemm peter at FreeBSD.org
Mon Sep 29 17:35:18 PDT 2003


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

Change 38820 by peter at peter_hammer on 2003/09/29 17:34:54

	sync up with jhb

Affected files ...

.. //depot/projects/hammer/sys/amd64/include/segments.h#11 edit

Differences ...

==== //depot/projects/hammer/sys/amd64/include/segments.h#11 (text+ko) ====

@@ -191,8 +191,12 @@
 #define	IDT_AC		17	/* #AC: Alignment Check */
 #define	IDT_MC		18	/* #MC: Machine Check */
 #define	IDT_XF		19	/* #XF: SIMD Floating-Point Exception */
+#define	IDT_IO_INTS	NRSVIDT	/* Base of IDT entries for I/O interrupts. */
 #define	IDT_SYSCALL	0x80	/* System Call Interrupt Vector */
 
+#define	IDT_TO_IRQ(idt)	((idt) - IDT_IO_INTS)
+#define	IRQ_TO_IDT(irq)	((irq) + IDT_IO_INTS)
+
 /*
  * Entries in the Global Descriptor Table (GDT)
  */


More information about the p4-projects mailing list