×

Method, device and article of manufacture for efficient task scheduling in a multi-tasking preemptive priority-based real-time operating system

  • US 6,430,593 B1
  • Filed: 03/10/1998
  • Issued: 08/06/2002
  • Est. Priority Date: 03/10/1998
  • Status: Expired due to Fees
First Claim
Patent Images

1. A multi-tasking, preemptive, priority based operating device for acceleration of operating system functions comprising:

  • a host processor, for processing a plurality of tasks, receiving interrupts and using a predetermined task scheduling accelerator interrupt service routine unit for responding to a task scheduling accelerator; and

    the task scheduling accelerator, coupled to the host processor, comprising;

    an interrupt service routine interface, coupled to the task scheduling accelerator interrupt service routine unit and a state machine of the task scheduling accelerator, for asserting an interrupt and indicating a status of the interrupt;

    a semaphore post queue interface, coupled to the task scheduling accelerator interrupt service routine unit and a semaphore post interface, for efficient determination of semaphore index queue status;

    a status unit, coupled to the state machine of the task scheduling accelerator and an asynchronous task command interface, for providing a status of an asynchronous task command interface;

    the asynchronous task command interface, coupled to the task scheduling accelerator interrupt service routine unit and the semaphore post interface, for receiving commands from the plurality of tasks and device interrupt service routines of the host processor;

    a synchronous task command interface, coupled to the task scheduling accelerator interrupt service routine unit, a task scheduling programming interface and to the state machine, for receiving commands from the plurality of tasks of the host processor;

    a current execution priority storage unit, coupled to the state machine, for storing a priority of a currently executing task of the plurality of tasks on the host processor;

    a plurality of ready task counters, coupled to the state machine, for storing counts of ready tasks of the plurality of tasks at each priority level; and

    the state machine, coupled to the interrupt service routine interface, the semaphore post-queue interface, the status unit, the asynchronous task command interface, the synchronous task command interface, the plurality of ready task counters, and the current execution priority storage unit, for determining scheduling decisions.

View all claims
  • 7 Assignments
Timeline View
Assignment View
    ×
    ×