iLLD_TC27xC
1.0
|
![]() |
Functions | |
IFX_INLINE IfxCpu_ResourceCpu | IfxCpu_getCoreId (void) |
API to get resource index of the CPU of the caller. More... | |
IFX_INLINE void | IfxCpu_initCSA (uint32 *csaBegin, uint32 *csaEnd) |
API to initialize the context save area of the CPU where this is called. More... | |
IFX_EXTERN Ifx_CPU * | IfxCpu_getAddress (IfxCpu_ResourceCpu cpu) |
API to get the address for CPU HW module register memory map. More... | |
IFX_EXTERN IfxCpu_CoreMode | IfxCpu_getCoreMode (Ifx_CPU *cpu) |
API to get current mode of CPU. More... | |
IFX_EXTERN IfxCpu_ResourceCpu | IfxCpu_getIndex (Ifx_CPU *cpu) |
API to get current mode of CPU. More... | |
IFX_EXTERN boolean | IfxCpu_setCoreMode (Ifx_CPU *cpu, IfxCpu_CoreMode mode) |
API to set mode of the CPU. More... | |
IFX_EXTERN boolean | IfxCpu_setProgramCounter (Ifx_CPU *cpu, uint32 programCounter) |
API to set the program counter for the CPU specified. More... | |
IFX_EXTERN boolean | IfxCpu_startCore (Ifx_CPU *cpu, uint32 programCounter) |
API to set the program counter for the CPU specified and start the CPU. More... | |
IFX_EXTERN Ifx_CPU* IfxCpu_getAddress | ( | IfxCpu_ResourceCpu | cpu) |
API to get the address for CPU HW module register memory map.
cpu | Resource index of the CPU |
Definition at line 36 of file IfxCpu.c.
Referenced by IfxCpu_setProgramCounter().
IFX_INLINE IfxCpu_ResourceCpu IfxCpu_getCoreId | ( | void | ) |
API to get resource index of the CPU of the caller.
Definition at line 522 of file IfxCpu.h.
Referenced by IfxCpu_enableSegmentSpecificDataAccessCacheability(), IfxCpu_enableSegmentSpecificInstructionAccessCacheability(), IfxCpu_getCoreMode(), IfxCpu_setCoreMode(), IfxCpu_setDataCache(), IfxCpu_setProgramCache(), IfxCpu_setProgramCounter(), IfxCpu_Trap_extractTrapInfo(), IfxQspi_SpiMaster_initModule(), IfxQspi_SpiSlave_initModule(), IfxScuWdt_changeCpuWatchdogPassword(), IfxScuWdt_changeCpuWatchdogReload(), IfxScuWdt_clearCpuEndinit(), IfxScuWdt_disableCpuWatchdog(), IfxScuWdt_enableCpuWatchdog(), IfxScuWdt_getCpuWatchdogPassword(), and IfxScuWdt_setCpuEndinit().
IFX_EXTERN IfxCpu_CoreMode IfxCpu_getCoreMode | ( | Ifx_CPU * | cpu) |
API to get current mode of CPU.
cpu | Pointer to the CPU HW module (register memory map) |
Definition at line 53 of file IfxCpu.c.
Referenced by IfxCpu_setCoreMode(), and IfxCpu_startCore().
IFX_EXTERN IfxCpu_ResourceCpu IfxCpu_getIndex | ( | Ifx_CPU * | cpu) |
API to get current mode of CPU.
cpu | Pointer to the CPU HW module (register memory map) |
Definition at line 107 of file IfxCpu.c.
Referenced by IfxCpu_getCoreMode(), and IfxCpu_setCoreMode().
IFX_INLINE void IfxCpu_initCSA | ( | uint32 * | csaBegin, |
uint32 * | csaEnd | ||
) |
API to initialize the context save area of the CPU where this is called.
This API can initialize the CSA of the host CPU where this API is called. This API shall not be used to initialize the CSA of another CPU
csaBegin | Pointer to start of context save area |
csaEnd | Pointer to end of context save area |
Definition at line 530 of file IfxCpu.h.
Referenced by _Core0_start(), _Core1_start(), and _Core2_start().
IFX_EXTERN boolean IfxCpu_setCoreMode | ( | Ifx_CPU * | cpu, |
IfxCpu_CoreMode | mode | ||
) |
API to set mode of the CPU.
cpu | Pointer to the CPU HW module (register memory map) |
mode | CPU mode to be set by this API |
TRUE,: | If the activity successfully be performed. |
FALSE,: | If the activity can't be performed. |
Definition at line 126 of file IfxCpu.c.
Referenced by _Core0_start(), and IfxCpu_startCore().
IFX_EXTERN boolean IfxCpu_setProgramCounter | ( | Ifx_CPU * | cpu, |
uint32 | programCounter | ||
) |
API to set the program counter for the CPU specified.
cpu | Pointer to the CPU HW module (register memory map) |
programCounter | Program counter value to be set |
TRUE,: | If the activity successfully be performed. |
FALSE,: | If the activity can't be performed |
Definition at line 267 of file IfxCpu.c.
Referenced by IfxCpu_startCore().
IFX_EXTERN boolean IfxCpu_startCore | ( | Ifx_CPU * | cpu, |
uint32 | programCounter | ||
) |
API to set the program counter for the CPU specified and start the CPU.
cpu | Pointer to the CPU HW module (register memory map) |
programCounter | Program counter value to start the CPU |
TRUE,: | If the activity successfully be performed. |
FALSE,: | If the activity can't be performed |
Definition at line 284 of file IfxCpu.c.
Referenced by _Core0_start().