|
SimpleKernel 1.17.0
|
#include <cpu_io.h>#include "arch.h"#include "basic_info.hpp"#include "interrupt.h"#include "kernel.h"#include "kernel_fdt.hpp"#include "kernel_log.hpp"#include "kstd_cstdio"#include "pl011/pl011_driver.hpp"#include "pl011_singleton.h"
Go to the source code of this file.
Typedefs | |
| using | InterruptDelegate = InterruptBase::InterruptDelegate |
Functions | |
| auto | vector_table () -> void |
| 异常向量表入口 | |
| auto | sync_current_el_sp0_handler (cpu_io::TrapContext *context) -> void |
| 同步异常处理 - Current EL with SP0 | |
| auto | irq_current_el_sp0_handler (cpu_io::TrapContext *context) -> void |
| IRQ 异常处理 - Current EL with SP0. | |
| auto | fiq_current_el_sp0_handler (cpu_io::TrapContext *context) -> void |
| FIQ 异常处理 - Current EL with SP0. | |
| auto | error_current_el_sp0_handler (cpu_io::TrapContext *context) -> void |
| 错误异常处理 - Current EL with SP0 | |
| auto | sync_current_el_spx_handler (cpu_io::TrapContext *context) -> void |
| 同步异常处理 - Current EL with SPx | |
| auto | irq_current_el_spx_handler (cpu_io::TrapContext *context) -> void |
| IRQ 异常处理 - Current EL with SPx. | |
| auto | fiq_current_el_spx_handler (cpu_io::TrapContext *context) -> void |
| FIQ 异常处理 - Current EL with SPx. | |
| auto | error_current_el_spx_handler (cpu_io::TrapContext *context) -> void |
| 错误异常处理 - Current EL with SPx | |
| auto | sync_lower_el_aarch64_handler (cpu_io::TrapContext *context) -> void |
| 同步异常处理 - Lower EL using AArch64 | |
| auto | irq_lower_el_aarch64_handler (cpu_io::TrapContext *context) -> void |
| IRQ 异常处理 - Lower EL using AArch64. | |
| auto | fiq_lower_el_aarch64_handler (cpu_io::TrapContext *context) -> void |
| FIQ 异常处理 - Lower EL using AArch64. | |
| auto | error_lower_el_aarch64_handler (cpu_io::TrapContext *context) -> void |
| 错误异常处理 - Lower EL using AArch64 | |
| auto | sync_lower_el_aarch32_handler (cpu_io::TrapContext *context) -> void |
| 同步异常处理 - Lower EL using AArch32 | |
| auto | irq_lower_el_aarch32_handler (cpu_io::TrapContext *context) -> void |
| IRQ 异常处理 - Lower EL using AArch32. | |
| auto | fiq_lower_el_aarch32_handler (cpu_io::TrapContext *context) -> void |
| FIQ 异常处理 - Lower EL using AArch32. | |
| auto | error_lower_el_aarch32_handler (cpu_io::TrapContext *context) -> void |
| 错误异常处理 - Lower EL using AArch32 | |
| auto | uart_handler (uint64_t cause, cpu_io::TrapContext *) -> uint64_t |
| UART 中断处理函数 | |
| auto | InterruptInit (int, const char **) -> void |
| 体系结构相关中断初始化 | |
| auto | InterruptInitSMP (int, const char **) -> void |
| 从核的体系结构相关中断初始化 | |
Definition at line 17 of file interrupt_main.cpp.
| auto error_current_el_sp0_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
错误异常处理 - Current EL with SP0
Definition at line 76 of file interrupt_main.cpp.
| auto error_current_el_spx_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
错误异常处理 - Current EL with SPx
Definition at line 103 of file interrupt_main.cpp.
| auto error_lower_el_aarch32_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
错误异常处理 - Lower EL using AArch32
Definition at line 159 of file interrupt_main.cpp.
| auto error_lower_el_aarch64_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
错误异常处理 - Lower EL using AArch64
Definition at line 131 of file interrupt_main.cpp.
| auto fiq_current_el_sp0_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
FIQ 异常处理 - Current EL with SP0.
Definition at line 68 of file interrupt_main.cpp.

| auto fiq_current_el_spx_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
FIQ 异常处理 - Current EL with SPx.
Definition at line 95 of file interrupt_main.cpp.

| auto fiq_lower_el_aarch32_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
FIQ 异常处理 - Lower EL using AArch32.
Definition at line 151 of file interrupt_main.cpp.

| auto fiq_lower_el_aarch64_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
FIQ 异常处理 - Lower EL using AArch64.
Definition at line 123 of file interrupt_main.cpp.

| auto InterruptInit | ( | int | argc, |
| const char ** | argv | ||
| ) | -> void |
体系结构相关中断初始化
| argc | 在不同体系结构有不同含义,同 _start |
| argv | 在不同体系结构有不同含义,同 _start |
Definition at line 175 of file interrupt_main.cpp.


| auto InterruptInitSMP | ( | int | argc, |
| const char ** | argv | ||
| ) | -> void |
从核的体系结构相关中断初始化
| argc | 在不同体系结构有不同含义,同 _start |
| argv | 在不同体系结构有不同含义,同 _start |
Definition at line 200 of file interrupt_main.cpp.

| auto irq_current_el_sp0_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
IRQ 异常处理 - Current EL with SP0.
Definition at line 60 of file interrupt_main.cpp.

| auto irq_current_el_spx_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
IRQ 异常处理 - Current EL with SPx.
Definition at line 88 of file interrupt_main.cpp.
| auto irq_lower_el_aarch32_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
IRQ 异常处理 - Lower EL using AArch32.
Definition at line 143 of file interrupt_main.cpp.

| auto irq_lower_el_aarch64_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
IRQ 异常处理 - Lower EL using AArch64.
Definition at line 115 of file interrupt_main.cpp.

| auto sync_current_el_sp0_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
同步异常处理 - Current EL with SP0
Definition at line 54 of file interrupt_main.cpp.
| auto sync_current_el_spx_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
同步异常处理 - Current EL with SPx
Definition at line 82 of file interrupt_main.cpp.
| auto sync_lower_el_aarch32_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
同步异常处理 - Lower EL using AArch32
Definition at line 137 of file interrupt_main.cpp.
| auto sync_lower_el_aarch64_handler | ( | cpu_io::TrapContext * | context | ) | -> void |
同步异常处理 - Lower EL using AArch64
Definition at line 109 of file interrupt_main.cpp.
| auto uart_handler | ( | uint64_t | cause, |
| cpu_io::TrapContext * | |||
| ) | -> uint64_t |
UART 中断处理函数
| cause | 中断号 |
Definition at line 169 of file interrupt_main.cpp.

| auto vector_table | ( | ) | -> void |
异常向量表入口
