iLLD_TC27xC
1.0
|
This file contains the APIs for Trap related functions. More...
#include "IfxCpu_Trap.h"
#include "Cpu/Std/IfxCpu.h"
#include "Cpu/Std/IfxCpu_Intrinsics.h"
#include "IfxCpu_reg.h"
#include "Ifx_Cfg.h"
Go to the source code of this file.
Macros | |
#define | IFX_CFG_CPU_TRAP_TSR_HOOK(trapWatch) |
Configuration for CpuX enable. More... | |
#define | IFX_CFG_CPU_TRAP_SYSCALL_CPU0_HOOK(trapWatch) |
#define | IFX_CFG_CPU_TRAP_SYSCALL_CPU1_HOOK(trapWatch) |
#define | IFX_CFG_CPU_TRAP_SYSCALL_CPU2_HOOK(trapWatch) |
Functions | |
IFX_INLINE IfxCpu_Trap | IfxCpu_Trap_extractTrapInfo (uint8 trapClass, uint32 tin) |
void | IfxCpu_Trap_memoryManagementError (uint32 tin) |
void | IfxCpu_Trap_internalProtectionError (uint32 tin) |
void | IfxCpu_Trap_instructionError (uint32 tin) |
void | IfxCpu_Trap_contextManagementError (uint32 tin) |
void | IfxCpu_Trap_busError (uint32 tin) |
void | IfxCpu_Trap_assertion (uint32 tin) |
void | IfxCpu_Trap_systemCall_Cpu0 (uint32 tin) |
void | IfxCpu_Trap_systemCall_Cpu1 (uint32 tin) |
void | IfxCpu_Trap_systemCall_Cpu2 (uint32 tin) |
void | IfxCpu_Trap_nonMaskableInterrupt (uint32 tin) |
void | IfxCpu_Trap_vectorTable0 (void) |
Variables | |
IfxCpu_Trap | trapWatch |
This file contains the APIs for Trap related functions.
IMPORTANT NOTICE
Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.
THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
Definition in file IfxCpu_Trap.c.
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU0_HOOK | ( | trapWatch) |
By default macro is empty
Definition at line 49 of file IfxCpu_Trap.c.
Referenced by IfxCpu_Trap_systemCall_Cpu0().
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU1_HOOK | ( | trapWatch) |
By default macro is empty
Definition at line 52 of file IfxCpu_Trap.c.
Referenced by IfxCpu_Trap_systemCall_Cpu1().
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU2_HOOK | ( | trapWatch) |
By default macro is empty
Definition at line 55 of file IfxCpu_Trap.c.
Referenced by IfxCpu_Trap_systemCall_Cpu2().
#define IFX_CFG_CPU_TRAP_TSR_HOOK | ( | trapWatch) |
Configuration for CpuX enable.
By default macro is empty
Definition at line 46 of file IfxCpu_Trap.c.
Referenced by IfxCpu_Trap_assertion(), IfxCpu_Trap_busError(), IfxCpu_Trap_contextManagementError(), IfxCpu_Trap_instructionError(), IfxCpu_Trap_internalProtectionError(), IfxCpu_Trap_memoryManagementError(), and IfxCpu_Trap_nonMaskableInterrupt().
void IfxCpu_Trap_assertion | ( | uint32 | tin) |
Definition at line 124 of file IfxCpu_Trap.c.
Referenced by IfxCpu_Trap_vectorTable0().
void IfxCpu_Trap_busError | ( | uint32 | tin) |
Definition at line 115 of file IfxCpu_Trap.c.
Referenced by IfxCpu_Trap_vectorTable0().
void IfxCpu_Trap_contextManagementError | ( | uint32 | tin) |
Definition at line 106 of file IfxCpu_Trap.c.
Referenced by IfxCpu_Trap_vectorTable0().
IFX_INLINE IfxCpu_Trap IfxCpu_Trap_extractTrapInfo | ( | uint8 | trapClass, |
uint32 | tin | ||
) |
Definition at line 69 of file IfxCpu_Trap.c.
Referenced by IfxCpu_Trap_assertion(), IfxCpu_Trap_busError(), IfxCpu_Trap_contextManagementError(), IfxCpu_Trap_instructionError(), IfxCpu_Trap_internalProtectionError(), IfxCpu_Trap_memoryManagementError(), IfxCpu_Trap_nonMaskableInterrupt(), IfxCpu_Trap_systemCall_Cpu0(), IfxCpu_Trap_systemCall_Cpu1(), and IfxCpu_Trap_systemCall_Cpu2().
void IfxCpu_Trap_instructionError | ( | uint32 | tin) |
Definition at line 97 of file IfxCpu_Trap.c.
Referenced by IfxCpu_Trap_vectorTable0().
void IfxCpu_Trap_internalProtectionError | ( | uint32 | tin) |
Definition at line 88 of file IfxCpu_Trap.c.
Referenced by IfxCpu_Trap_vectorTable0().
void IfxCpu_Trap_memoryManagementError | ( | uint32 | tin) |
Definition at line 79 of file IfxCpu_Trap.c.
Referenced by IfxCpu_Trap_vectorTable0().
void IfxCpu_Trap_nonMaskableInterrupt | ( | uint32 | tin) |
Definition at line 157 of file IfxCpu_Trap.c.
Referenced by IfxCpu_Trap_vectorTable0().
void IfxCpu_Trap_systemCall_Cpu0 | ( | uint32 | tin) |
Definition at line 133 of file IfxCpu_Trap.c.
Referenced by IfxCpu_Trap_vectorTable0().
void IfxCpu_Trap_systemCall_Cpu1 | ( | uint32 | tin) |
Definition at line 141 of file IfxCpu_Trap.c.
void IfxCpu_Trap_systemCall_Cpu2 | ( | uint32 | tin) |
Definition at line 149 of file IfxCpu_Trap.c.
void IfxCpu_Trap_vectorTable0 | ( | void | ) |
Definition at line 179 of file IfxCpu_Trap.c.
IfxCpu_Trap trapWatch |
Definition at line 61 of file IfxCpu_Trap.c.