|
AM65x MCU+ SDK
09.01.00
|
|
Go to the documentation of this file.
33 #ifndef ADDR_TRANSLATEP_H
34 #define ADDR_TRANSLATEP_H
55 #define AddrTranslateP_MAX_REGIONS (16u)
60 typedef enum AddrTranslateP_RegionSize_e {
99 typedef struct AddrTranslateP_RegionConfig_ {
110 typedef struct AddrTranslateP_Params_s {
@ AddrTranslateP_RegionSize_128M
Definition: AddrTranslateP.h:88
@ AddrTranslateP_RegionSize_64K
Definition: AddrTranslateP.h:77
@ AddrTranslateP_RegionSize_256K
Definition: AddrTranslateP.h:79
@ AddrTranslateP_RegionSize_32K
Definition: AddrTranslateP.h:76
AddrTranslateP_RegionSize
Enum's to represent different possible region size for the address translate module.
Definition: AddrTranslateP.h:60
Parameters for AddrTranslateP_init, this is used by SysConfig and not to be used by end-users directl...
Definition: AddrTranslateP.h:110
@ AddrTranslateP_RegionSize_64
Definition: AddrTranslateP.h:67
@ AddrTranslateP_RegionSize_32
Definition: AddrTranslateP.h:66
@ AddrTranslateP_RegionSize_4G
Definition: AddrTranslateP.h:93
@ AddrTranslateP_RegionSize_64M
Definition: AddrTranslateP.h:87
AddrTranslateP_RegionConfig * regionConfig
Definition: AddrTranslateP.h:114
@ AddrTranslateP_RegionSize_8K
Definition: AddrTranslateP.h:74
@ AddrTranslateP_RegionSize_2K
Definition: AddrTranslateP.h:72
void AddrTranslateP_Params_init(AddrTranslateP_Params *params)
Set default value for address translate parameters.
Region config structure, this is used by SysConfig and not to be used by end-users directly.
Definition: AddrTranslateP.h:99
@ AddrTranslateP_RegionSize_128
Definition: AddrTranslateP.h:68
@ AddrTranslateP_RegionSize_128K
Definition: AddrTranslateP.h:78
@ AddrTranslateP_RegionSize_1
Definition: AddrTranslateP.h:61
@ AddrTranslateP_RegionSize_4
Definition: AddrTranslateP.h:63
@ AddrTranslateP_RegionSize_256
Definition: AddrTranslateP.h:69
uint32_t numRegions
Definition: AddrTranslateP.h:112
@ AddrTranslateP_RegionSize_16K
Definition: AddrTranslateP.h:75
@ AddrTranslateP_RegionSize_512K
Definition: AddrTranslateP.h:80
void * AddrTranslateP_getLocalAddr(uint64_t systemAddr)
Translate from 48b system address to a CPU address as seen via the RAT module.
@ AddrTranslateP_RegionSize_8M
Definition: AddrTranslateP.h:84
uint64_t systemAddr
Definition: AddrTranslateP.h:101
@ AddrTranslateP_RegionSize_8
Definition: AddrTranslateP.h:64
@ AddrTranslateP_RegionSize_1G
Definition: AddrTranslateP.h:91
uint32_t localAddr
Definition: AddrTranslateP.h:102
@ AddrTranslateP_RegionSize_32M
Definition: AddrTranslateP.h:86
void AddrTranslateP_init(AddrTranslateP_Params *params)
Initialize Address translate sub-system, called by SysConfig, not to be called by end users.
@ AddrTranslateP_RegionSize_2M
Definition: AddrTranslateP.h:82
@ AddrTranslateP_RegionSize_4M
Definition: AddrTranslateP.h:83
uint32_t ratBaseAddr
Definition: AddrTranslateP.h:113
@ AddrTranslateP_RegionSize_2G
Definition: AddrTranslateP.h:92
@ AddrTranslateP_RegionSize_256M
Definition: AddrTranslateP.h:89
@ AddrTranslateP_RegionSize_16
Definition: AddrTranslateP.h:65
@ AddrTranslateP_RegionSize_16M
Definition: AddrTranslateP.h:85
@ AddrTranslateP_RegionSize_2
Definition: AddrTranslateP.h:62
uint32_t size
Definition: AddrTranslateP.h:103
@ AddrTranslateP_RegionSize_512M
Definition: AddrTranslateP.h:90
@ AddrTranslateP_RegionSize_1K
Definition: AddrTranslateP.h:71
@ AddrTranslateP_RegionSize_1M
Definition: AddrTranslateP.h:81
@ AddrTranslateP_RegionSize_4K
Definition: AddrTranslateP.h:73
@ AddrTranslateP_RegionSize_512
Definition: AddrTranslateP.h:70