Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2004 20:24:58 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 67551 for review
Message-ID:  <200412222024.iBMKOwh4068700@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=67551

Change 67551 by jhb@jhb_twclab on 2004/12/22 20:24:10

	Fixup assertions.

Affected files ...

.. //depot/projects/smpng/sys/i386/i386/local_apic.c#20 edit
.. //depot/user/jhb/clock/i386/i386/local_apic.c#35 edit

Differences ...

==== //depot/projects/smpng/sys/i386/i386/local_apic.c#20 (text+ko) ====

@@ -60,7 +60,8 @@
 #define	MAX_APICID	16
 
 /* Sanity checks on IDT vectors. */
-CTASSERT(APIC_IO_INTS + APIC_NUM_IOINTS == APIC_LOCAL_INTS);
+CTASSERT(APIC_IO_INTS + APIC_NUM_IOINTS == APIC_TIMER_INT);
+CTASSERT(APIC_TIMER_INT < APIC_LOCAL_INTS);
 CTASSERT(APIC_LOCAL_INTS == 240);
 CTASSERT(IPI_STOP < APIC_SPURIOUS_INT);
 

==== //depot/user/jhb/clock/i386/i386/local_apic.c#35 (text+ko) ====

@@ -60,7 +60,8 @@
 #define	MAX_APICID	16
 
 /* Sanity checks on IDT vectors. */
-CTASSERT(APIC_IO_INTS + APIC_NUM_IOINTS == APIC_LOCAL_INTS);
+CTASSERT(APIC_IO_INTS + APIC_NUM_IOINTS == APIC_TIMER_INT);
+CTASSERT(APIC_TIMER_INT < APIC_LOCAL_INTS);
 CTASSERT(APIC_LOCAL_INTS == 240);
 CTASSERT(IPI_STOP < APIC_SPURIOUS_INT);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412222024.iBMKOwh4068700>