Processing system
AssigneeNXP B.V.
InventorsNicolas Laine, Andre Lepine
Life of this patent
Estimating the term…
Abstract
A processing system is disclosed. The system comprises: a processing unit; a memory adapted to store firmware code and application code for execution by the processor; and a memory access control unit adapted to control access of the processing unit to firmware code and application code stored in the memory. The memory access control unit is adapted to disable access to firmware code when access to application code is enabled, and to disable access to application code when access to firmware code is enabled.
Claims14
A processing system comprising:
- a processing unit;
- memory adapted to store firmware code and application code for execution by the processor;
- and
- a memory access control unit adapted to control access of the processing unit to firmware code and application code stored in the memory,
- wherein the memory access control unit is adapted to transition between a normal mode in which access to firmware code is disabled when access to application code is enabled, and a secure mode in which access to application code is disabled when the application code calls to the firmware code through a single entry point address when the single entry point address matches an address stored in a register of the memory access control unit;
- and
- wherein the memory access control unit is adapted to transition between the normal mode and the secure mode when the application code calls a function;
- and
- wherein the single entry point address corresponds to a dispatcher function to which the application code passes at least one parameter to define at least one function of the firmware code to be executed.
A method of controlling access of a processing unit of a processing system to firmware code and application code stored by a memory of the processing system, the method comprising the steps of:
- disabling access to firmware code when access to application code is enabled;
- and
- disabling access to application code when the application code calls to the firmware code through a single entry point address when the single entry point address matches an address stored in a register of the memory access control unit;
- wherein disabling access to the application code is performed when the application code calls to the firmware code and disabling access to the firmware code is performed when execution of the firmware code is completed;
- and
- wherein the single entry point address corresponds to a dispatcher function to which the application code passes at least one parameter to define at least one function of the firmware code to be executed.
A non-transitory computer-readable storage medium storing instructions that, when executed by a processing unit, control access of the processing unit to firmware code and application code by:
- disabling access to firmware code when access to application code is enabled;
- and
- disabling access to application code when the application code calls to the firmware code through a single entry point address when the single entry point address matches an address stored in a register of the memory access control unit;
- wherein disabling access to the application code is performed when the application code calls to the firmware code and disabling access to the firmware code is performed when execution of the firmware code is completed;
- and
- wherein the single entry point address corresponds to a dispatcher function to which the application code passes at least one parameter to define at least one function of the firmware code to be executed.
Dependencies are inferred from the claim text.