Fix IO memory access .. SB128 driver makes noises in VMWare - CMI is untested (Curren...
[AROS.git] / arch / all-mingw32 / kernel / kernel_arch.h
bloba3c9d5e3e82d9e2ba60966ffb13a1c03e2a2bb9b
1 /*
2 * In Windows-hosted kernel IRQs are used to receive events from emulated
3 * hardware. Hardware is mostly emulated using Windows threads running
4 * asynchronously to AROS. When the thread finishes its job it calls host-side
5 * KrnCauseIRQ() function in order to initiate an IRQ in AROS.
7 * IRQs are managed dynamically using host-side KrnAllocIRQ() and KrnFreeIRQ() functions
8 * except the following static allocations:
10 * IRQ 0 - main system periodic timer (50 Hz). Used internally by kernel.resource
11 * for task switching and VBlank emulation. Exec uses it as a VBLANK source.
12 * In current implementation it can not be caused manually using KrnCauseIRQ().
14 * The whole described thing is experimental and subject to change.
16 #define IRQ_TIMER 0
18 /* We use only one list for all IRQs */
19 #define IRQ_COUNT 1
21 /* We have no interrupt controller */
22 #define ictl_enable_irq(irq, base)
23 #define ictl_disable_irq(irq, base)