My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
cpu_data.c File Reference
#include <sw_types.h>
#include <cpu_data.h>

Functions

u32 secure_page_table[PAGE_TABLE_ENTRIES__attribute__ ((section(".data")))
 Secure page table. More...
 
va_t * get_sw_code_end (void)
 Function returns the End address of the secure world code which is given in the Linker script. More...
 
va_t * get_sw_text_start (void)
 Function returns the starting address of the text section which is given in the Linker script. More...
 
int get_sw_text_size (void)
 Function returns the size of text section which is given in the Linker script. More...
 
va_t * get_sw_data_start (void)
 Function returns the starting address of the data section which is given in the Linker script. More...
 
int get_sw_data_size (void)
 Function returns the size of data section which is given in the Linker script. More...
 
va_t * get_sw_bss_start (void)
 Function returns the starting address of the bss section which is given in the Linker script. More...
 
int get_sw_bss_size (void)
 Function returns the size of bss section which is given in the Linker script. More...
 

Function Documentation

u32 secure_page_table [PAGE_TABLE_ENTRIES] __attribute__ ( (section(".data"))  )

Secure page table.

Function returns the starting address of the secure world code which is given in the Linker script

Returns
int get_sw_bss_size ( void  )

Function returns the size of bss section which is given in the Linker script.

Returns
va_t* get_sw_bss_start ( void  )

Function returns the starting address of the bss section which is given in the Linker script.

Returns
va_t* get_sw_code_end ( void  )

Function returns the End address of the secure world code which is given in the Linker script.

This function returns the end address(virtual) of the secure world code with the help of the linker script.

Returns
int get_sw_data_size ( void  )

Function returns the size of data section which is given in the Linker script.

Returns
va_t* get_sw_data_start ( void  )

Function returns the starting address of the data section which is given in the Linker script.

Returns
int get_sw_text_size ( void  )

Function returns the size of text section which is given in the Linker script.

Returns
va_t* get_sw_text_start ( void  )

Function returns the starting address of the text section which is given in the Linker script.

Returns