diff options
| author | Jeremy Fitzhardinge <[email protected]> | 2007-07-17 18:37:05 -0700 |
|---|---|---|
| committer | Jeremy Fitzhardinge <[email protected]> | 2007-07-18 08:47:42 -0700 |
| commit | e46cdb66c8fc1c8d61cfae0f219ff47ac4b9d531 (patch) | |
| tree | 7d9cdfef91e69fcfcba762a5a70cd58900308a5b /include/linux | |
| parent | 3b827c1b3aadf3adb4c602d19863f2d24e7cbc18 (diff) | |
xen: event channels
Xen implements interrupts in terms of event channels. Each guest
domain gets 1024 event channels which can be used for a variety of
purposes, such as Xen timer events, inter-domain events,
inter-processor events (IPI) or for real hardware IRQs.
Within the kernel, we map the event channels to IRQs, and implement
the whole interrupt handling using a Xen irq_chip.
Rather than setting NR_IRQ to 1024 under PARAVIRT in order to
accomodate Xen, we create a dynamic mapping between event channels and
IRQs. Ideally, Linux will eventually move towards dynamically
allocating per-irq structures, and we can use a 1:1 mapping between
event channels and irqs.
Signed-off-by: Jeremy Fitzhardinge <[email protected]>
Signed-off-by: Chris Wright <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Eric W. Biederman <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions