Patent ID: 8893127

Claim:
A method for loading an application to a local memory of a co-processor system, the method comprising: accessing a local memory of a co-processor system, wherein the local memory comprises a loading region and a non-loading region, wherein the loading region stores a loader and descriptive data of an executable image to be loaded of an application, and wherein the loader comprises re-locatable code; copying the re-locatable code of the loader and the descriptive data from the loading region of the local memory to a stack of the non-loading region of the local memory; and loading, by use of the re-locatable code of the loader copied to the stack of the non-loading region, the executable image to be loaded according to the descriptive data; wherein, when the executable image is loaded, the loading region is overwritten by data corresponding to the executable image being loaded; and wherein the non-loading region is a storage region comprising the stack, and the stack is not overwritten when the executable image is being loaded.