Patent ID: 8595747
Filing Date: 2013-11-26
Classification: G06F

Abstract:
1. In a processing system having a main memory and a processor having a local memory and a plurality of software-configurable registers, a method for task scheduling, comprising the steps of: reserving a subset of the plurality of software-configurable registers for use by a kernel wherein portions of the kernel are stored in the local memory of the processor and other portions of the kernel are stored in the main memory; reserving a different subset of the plurality of registers for use by one or more tasks of a program code; upon occurrence of an interrupt event requiring control of the processor by the kernel, the interrupt is configured to stop a task of the program code running on the processor and load one or more features of the kernel required to service the interrupt event that are stored in the main memory to the local memory of the processor; running the one or more features of the kernel loaded on the local memory of the processor utilizing the subset of the plurality of software-configurable registers reserved for use by the kernel without saving contents of the plurality of software-configurable registers reserved for the one or more tasks of the program code; and processing the interrupt using the kernel running on the processor.