![]() |
MOS Source Code
|
#include "mos/x86/x86_platform.hpp"#include <mos/lib/structures/list.hpp>#include <mos/mos_global.h>#include <mos/types.hpp>Go to the source code of this file.
Macros | |
| #define | IRQ_BASE 0x20 |
| #define | IPI_BASE 0x50 |
| #define | ISR_MAX_COUNT 32 |
| #define | IRQ_MAX_COUNT 16 |
| #define | IDT_ENTRY_COUNT 256 |
Functions | |
| MOS_STATIC_ASSERT (0x20 > EXCEPTION_MAX, "IRQ_BASE is too small, possibly overlapping with exceptions") | |
| MOS_STATIC_ASSERT (16==IRQ_MAX, "IRQ_MAX_COUNT is not equal to IRQ_MAX") | |
| void | pic_remap_irq (void) |
| void | x86_interrupt_return_impl (const platform_regs_t *regs) |
Variables | |
| void * | isr_stub_table [] |
| void * | irq_stub_table [] |
| #define IRQ_BASE 0x20 |
Definition at line 11 of file x86_interrupt.hpp.
Referenced by MOS_STATIC_ASSERT(), x86_handle_irq(), x86_idt_init(), and x86_interrupt_entry().
| #define IPI_BASE 0x50 |
Definition at line 12 of file x86_interrupt.hpp.
Referenced by platform_ipi_send(), x86_idt_init(), and x86_interrupt_entry().
| #define ISR_MAX_COUNT 32 |
Definition at line 14 of file x86_interrupt.hpp.
Referenced by ioapic_disable(), ioapic_enable_with_mode(), and x86_idt_init().
| #define IRQ_MAX_COUNT 16 |
Definition at line 15 of file x86_interrupt.hpp.
Referenced by MOS_STATIC_ASSERT(), and x86_idt_init().
| #define IDT_ENTRY_COUNT 256 |
Definition at line 16 of file x86_interrupt.hpp.
Referenced by __aligned(), and x86_idt_init().
| enum x86_exception_enum_t |
Definition at line 18 of file x86_interrupt.hpp.
| enum x86_irq_enum_t |
Definition at line 53 of file x86_interrupt.hpp.
| MOS_STATIC_ASSERT | ( | 0x20 | , |
| EXCEPTION_MAX | , | ||
| "IRQ_BASE is too | small, | ||
| possibly overlapping with exceptions" | ) |
| MOS_STATIC_ASSERT | ( | 16 | = =IRQ_MAX, |
| "IRQ_MAX_COUNT is not equal to IRQ_MAX" | ) |
Definition at line 25 of file pic.cpp.
Referenced by platform_startup_late().
| void x86_interrupt_return_impl | ( | const platform_regs_t * | regs | ) |
Referenced by platform_restore_from_signal_handler(), and x86_start_user_thread().
|
extern |
Referenced by MOS_STATIC_ASSERT(), and x86_idt_init().
|
extern |
Referenced by MOS_STATIC_ASSERT(), and x86_idt_init().