revert between 56095 -> 55830 in arch
[AROS.git] / arch / all-mingw32 / kernel / kernel_arch.h
blob4bf07915affdd9e571ca815525e0a6b2171515e9
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 * KrnCauseSystemIRQ() function in order to initiate an IRQ in AROS.
7 * IRQs are managed dynamically using host-side KrnAllocSystemIRQ() and KrnFreeSystemIRQ() 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 KrnCauseSystemIRQ().
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)