Multi-tasking real-time operating system for microprocessors with limited memory by saving only a single return address per task during context switching
Abstract
A real-time operating system (RTOS) for use with minimal-memory controllers has a kernel for managing task execution, including context switching, a plurality of defined tasks, individual ones of the tasks having subroutines callable in nested levels for accomplishing tasks. In the RTOS context switching is constrained to occur only at task level, and cannot occur at any lower sub-routine level. This system can operate with a single call . . . return stack, saving memory requirement. The single stack can be implemented as either a general-purpose stack or as a hardware call . . . return stack. In other embodiments novel methods are taught for generating return addresses, and for using timing functions in a RTOS.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 2.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A real-time operating system (RTOS) for use with a minimal-memory controller, comprising: a kernel managing task execution, including context switching, executing from a machine readable medium on the controller; and a plurality of defined tasks as code sets, individual ones of the tasks having subroutines callable in nested levels for accomplishing tasks; characterized in that the kernel allows context switching to occur only at task level, rather than allowing context switches at a lower sub-routine level by saving only a single return address per task.
- Claim 2Depends on #1
The RTOS of claim 1 wherein the RTOS operates with a single call-return stack common to all of the defined tasks.
- Claim 3Depends on #2
The RTOS of claim 2 wherein the single stack is implemented as a general-purpose stack.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (1)
- U.S. Appl. No. 09/492,242, Andrew E. Kalman.