Storing in a reserved memory location data indicative of a stack location which stores the entry point of a dynamically loaded file
AssigneeSTMicroelectronics S.r.l.
InventorMark Phillips
Life of this patent
Estimating the term…
Abstract
To enable a processor connected to a host computer to run programs that are dynamically loaded by the host, a stack is loaded into its memory, and the location of the stack, or information enabling that location to be found are stored in a memory location reserved as a vector. The programs are then dynamically loaded into said memory; and a set location in the stack is used to store the entry point into the dynamically loaded file.
Claims12
A method of operating a digital signal processor connected to a host computer, the digital signal processor having a memory including a reserved storage location designated as a vector, the method comprising:
- loading a stack into said memory;
- storing in said reserved location information indicative of said stack location;
- dynamically loading a computer file into said memory;
- and
- storing at a predetermined location in said stack data indicative of an entry point into said dynamically loaded file.
A method of debugging a computer system connected to a host computer, the computer system having a memory including a reserved storage location designated as a vector, the method comprising:
- dynamically loading into said memory a stack;
- storing in said reserved location information indicative of said stack location;
- dynamically loading a computer file into said memory for use by said computer system;
- and
- storing at a predetermined location in said stack data indicative of an entry point into said dynamically loaded computer file;
- causing an application to run on said computer system
- whereby said application accesses said vector to thereby locate said entry point so that said application calls a subroutine in said computer file.
The combination of a digital signal processor and a host computer, the digital signal processor having a link for connection to said host computer and the host computer being connected to said link, the digital signal processor having a memory including a reserved storage location designated as a vector, wherein the host computer comprises:
- first loading circuitry for dynamically loading a computer file into said memory, thereby determining the location in said memory of an entry point into said dynamically loaded file;
- processor circuitry for forming a stack, said processor circuitry being operative to store at a predetermined location in said stack data indicative of an entry point into said dynamically loaded file;
- second loading circuitry for loading said stack into said memory of said digital signal processor;
- and
- writing circuitry for storing in said reserved location information indicative of said stack location.
Dependencies are inferred from the claim text.