| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- /*
- * Copyright (c) 2006-2021, RT-Thread Development Team
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Change Logs:
- * Date Author Notes
- * 2021-07-16 JasonHu first version
- */
- #ifndef __INTERRUPT_H__
- #define __INTERRUPT_H__
- #define MAX_INTR_NR 0x81
- #define EXCEPTION_INTR_BASE 0x00
- #define IRQ_INTR_BASE 0x20
- #define SYSCALL_INTR_BASE 0x80
- #define MAX_IRQ_NR 16
- #define EXCEPTION_PAGE_FAULT 14
- #define IRQ0_CLOCK 0
- #define IRQ1_KEYBOARD 1
- #define IRQ2_CONNECT 2 /* connect to slave */
- #define IRQ3_SERIAL2 3
- #define IRQ4_SERIAL1 4
- #define IRQ5_PARALLEL2 5
- #define IRQ6_FLOPPY 6
- #define IRQ7_PARALLEL1 7
- #define IRQ8_RTCLOCK 8 /* real-time clock */
- #define IRQ9_REDIRECT 9 /* redirect to IRQ2 */
- #define IRQ10_RESERVED 10
- #define IRQ11_RESERVED 11
- #define IRQ12_MOUSE 12
- #define IRQ13_FPU 13
- #define IRQ14_HARDDISK 14
- #define IRQ15_RESERVE 15
- #include "i386.h"
- #endif /* __INTERRUPT_H__ */
|