lkml.org 
[lkml]   [2004]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: [PATCH] 2.6.1-mm2: Get irq_vector size right for generic subarch UP installer kernels
On Wed, 14 Jan 2004, Nakajima, Jun wrote:

> assign_irq_vector() is okay, and it simply returns vectors
> (FIRST_DEVICE_VECTOR <= vector < FIRST_SYSTEM_VECTOR). That means those
> IRQs will eventually share the same vector(s). Look at the code.

Ok so you have different irqs sharing vectors, how does this work with the
following (where $vector really means $irq of course)?

.data
ENTRY(interrupt)
.text

vector=0
ENTRY(irq_entries_start)
.rept NR_IRQS
ALIGN
1: pushl $vector-256
jmp common_interrupt

Also i was thinking about when you exhaust all 200 odd
spare vectors and then end up doing set_intr_gate twice on the same
vector? I may be missing something really obvious here.

Thanks

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.042 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site