aiengine
Xilinx SDK Drivers API Documentation
xaiesim_elfload.h File Reference

Overview

This file contains the variable and function prototypes for ELF loading.

MODIFICATION HISTORY:
Ver   Who     Date     Changes


1.0 Naresh 03/27/2018 Initial creation 1.1 Naresh 05/07/2018 Updated code to fix CR#1001944 1.2 Naresh 06/13/2018 Fixed CR#1003905 1.3 Naresh 07/11/2018 Updated copyright info 1.4 Nishad 12/05/2018 Renamed ME attributes to AIE 1.8 Hyun 09/13/2019 Added XAieSim_LoadElfMem()

Data Structures

struct  XAieSim_StackSz
 This typedef contains all the stack range addresses derived from the map file. More...
 
uint32 XAieSim_GetStackRange (uint8 *MapPtr, XAieSim_StackSz *StackSzPtr)
 This is the routine to derive the stack start and end addresses from the specified map file. More...
 

Function Documentation

uint32 XAieSim_GetStackRange ( uint8 *  MapPtr,
XAieSim_StackSz StackSzPtr 
)

This is the routine to derive the stack start and end addresses from the specified map file.

This function basically looks for the line <init_address>..<final_address> ( <num> items) : Stack in the map file to derive the stack address range.

Parameters
MapPtr,:Path to the Map file.
StackSzPtr,:Pointer to the stack range structure.
Returns
XAIESIM_SUCCESS on success, else XAIESIM_FAILURE.
Note
None.

References XAieSim_StackSz::end, and XAieSim_StackSz::start.

Referenced by XAieSim_LoadElf().