iLLD_TC27xD  1.0
IfxCpu_Trap.c File Reference

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)
 
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU3_HOOK(trapWatch)
 
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU4_HOOK(trapWatch)
 
#define IFX_CFG_CPU_TRAP_SYSCALL_CPU5_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_systemCall_Cpu3 (uint32 tin)
 
void IfxCpu_Trap_systemCall_Cpu4 (uint32 tin)
 
void IfxCpu_Trap_systemCall_Cpu5 (uint32 tin)
 
void IfxCpu_Trap_nonMaskableInterrupt (uint32 tin)
 
void IfxCpu_Trap_vectorTable0 (void)
 

Variables

IfxCpu_Trap trapWatch
 

Detailed Description

This file contains the APIs for Trap related functions.

Version
iLLD_1_0_0_11_0
                            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.

Macro Definition Documentation

#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_SYSCALL_CPU3_HOOK (   trapWatch)

By default macro is empty

Definition at line 58 of file IfxCpu_Trap.c.

Referenced by IfxCpu_Trap_systemCall_Cpu3().

#define IFX_CFG_CPU_TRAP_SYSCALL_CPU4_HOOK (   trapWatch)

By default macro is empty

Definition at line 61 of file IfxCpu_Trap.c.

Referenced by IfxCpu_Trap_systemCall_Cpu4().

#define IFX_CFG_CPU_TRAP_SYSCALL_CPU5_HOOK (   trapWatch)

By default macro is empty

Definition at line 64 of file IfxCpu_Trap.c.

Referenced by IfxCpu_Trap_systemCall_Cpu5().

#define IFX_CFG_CPU_TRAP_TSR_HOOK (   trapWatch)

Function Documentation

void IfxCpu_Trap_assertion ( uint32  tin)

Definition at line 131 of file IfxCpu_Trap.c.

Referenced by IfxCpu_Trap_vectorTable0().

void IfxCpu_Trap_busError ( uint32  tin)

Definition at line 122 of file IfxCpu_Trap.c.

Referenced by IfxCpu_Trap_vectorTable0().

void IfxCpu_Trap_contextManagementError ( uint32  tin)

Definition at line 113 of file IfxCpu_Trap.c.

Referenced by IfxCpu_Trap_vectorTable0().

void IfxCpu_Trap_instructionError ( uint32  tin)

Definition at line 104 of file IfxCpu_Trap.c.

Referenced by IfxCpu_Trap_vectorTable0().

void IfxCpu_Trap_internalProtectionError ( uint32  tin)

Definition at line 95 of file IfxCpu_Trap.c.

Referenced by IfxCpu_Trap_vectorTable0().

void IfxCpu_Trap_memoryManagementError ( uint32  tin)

Definition at line 86 of file IfxCpu_Trap.c.

Referenced by IfxCpu_Trap_vectorTable0().

void IfxCpu_Trap_nonMaskableInterrupt ( uint32  tin)

Definition at line 188 of file IfxCpu_Trap.c.

Referenced by IfxCpu_Trap_vectorTable0().

void IfxCpu_Trap_systemCall_Cpu0 ( uint32  tin)

Definition at line 140 of file IfxCpu_Trap.c.

Referenced by IfxCpu_Trap_vectorTable0().

void IfxCpu_Trap_systemCall_Cpu1 ( uint32  tin)

Definition at line 148 of file IfxCpu_Trap.c.

void IfxCpu_Trap_systemCall_Cpu2 ( uint32  tin)

Definition at line 156 of file IfxCpu_Trap.c.

void IfxCpu_Trap_systemCall_Cpu3 ( uint32  tin)

Definition at line 164 of file IfxCpu_Trap.c.

void IfxCpu_Trap_systemCall_Cpu4 ( uint32  tin)

Definition at line 172 of file IfxCpu_Trap.c.

void IfxCpu_Trap_systemCall_Cpu5 ( uint32  tin)

Definition at line 180 of file IfxCpu_Trap.c.

void IfxCpu_Trap_vectorTable0 ( void  )

Definition at line 210 of file IfxCpu_Trap.c.

Variable Documentation

IfxCpu_Trap trapWatch

Definition at line 70 of file IfxCpu_Trap.c.