TI Autonomous Driving Algorithms (TIADALG) Library User Guide
memmap.h
Go to the documentation of this file.
1 #ifndef HOST_EMULATION
2 
3 #include <stdbool.h>
4 
5 /* L2 for C7x_1 [ size 480.00 KB ] */
6 #define L2RAM_C7x_1_ADDR (0x64800000u)
7 #define L2RAM_C7x_1_SIZE (0x00078000u)
8 
9 /* L1 for C7x_1 [ size 16.00 KB ] */
10 #define L1RAM_C7x_1_ADDR (0x64E00000u)
11 #define L1RAM_C7x_1_SIZE (0x00004000u)
12 
13 /* MSMC for C7x_1 [ size 7.78 MB ] */
14 #define MSMC_C7x_1_ADDR (0x70020000u)
15 #define MSMC_C7x_1_SIZE (0x007C8000u)
16 
17 /* DDR for C7x_1 for Linux IPC [ size 1024.00 KB ] */
18 #define DDR_C7x_1_IPC_ADDR (0xA8000000u)
19 #define DDR_C7x_1_IPC_SIZE (0x00100000u)
20 
21 /* DDR for C7x_1 for all sections, used for reserving memory in DTS file [ size 15.00 MB ] */
22 #define DDR_C7x_1_DTS_ADDR (0xA8100000u)
23 #define DDR_C7x_1_DTS_SIZE (0x00F00000u)
24 
25 /* Memory for shared memory buffers in DDR [ size 480.00 MB ] */
26 #define DDR_SHARED_MEM_ADDR (0xDC000000u)
27 #define DDR_SHARED_MEM_SIZE (0x1E000000u)
28 
29 /* DDR for c7x_1 for Scratch Memory [ size 512.00 MB ] */
30 #define DDR_C7X_1_SCRATCH_ADDR (0xAE000000u)
31 #define DDR_C7X_1_SCRATCH_SIZE (0x20000000u)
32 
33 /* DDR for c7x_1 for Scratch Memory [ size 720.00 MB ] */
34 #define DDR_C7X_1_SCRATCH_PHY_ADDR (0x880000000u)
35 #define DDR_C7X_1_SCRATCH_VIRT_ADDR (0x100000000u)
36 
37 void algoMmuMap(bool is_secure);
38 uint64_t algotb_virtToPhyAddrConversion(const void *virtAddr,
39  uint32_t chNum,
40  void *appData);
41 
42 #endif
void algoMmuMap(bool is_secure)
uint64_t algotb_virtToPhyAddrConversion(const void *virtAddr, uint32_t chNum, void *appData)

© Copyright 2018 Texas Instruments Incorporated. All rights reserved.
Document generated by doxygen 1.8.6