摘要:
A computer-implemented method and apparatus for restoring operating systems within a set-top box system. The restoration provides for operating a first operating system in a first memory. An application program is operated in a second memory. The first operating system is stored in a second memory so that a second operating system is loaded into the first memory. When a predetermined condition which is associated with the second operating system is detected, the first operating system is loaded into the first memory in response to the detected predetermined condition. Such a system provides such non-limiting advantages to the set-top box as the ability to robustly recover from errors or anomalies associated with downloading an operating system.
摘要:
A computer-implemented thread is provided for communicating with other threads in a set-top box environment. The thread includes a stack, a thread control block, and a queue object. The thread's stack provides data storage for the thread, and the thread control block is utilized for storing context information related to the thread. The queue object is utilized for providing communications between the thread and another thread. A swap type detector can be provided for detecting a predetermined swap type for when the thread is swapped from the CPU. A register recorder partially stores the CPU state of the thread based upon the detected swap type of the thread. The register recorder also can perform a partial storage of the CPU state of the thread based upon a received interrupt service request.
摘要:
A computer-implemented method and apparatus for scheduling threads contained in a thread list. At least two of the threads have a priority indicative of scheduled executions for the two threads. The present invention performs the following steps during a transversal through the thread list: modifying the scheduled execution of at least two threads which have equivalent priorities; performing deadline processing for at least one of the threads; and checking for a predetermined error condition of at least one of the threads.
摘要:
A system for preprocessing computer programs before downloading them into terminals includes a packager (303) which processes certain information contained in compiled but unlinked programs (307). The packager (303) partially resolves undefined symbols and relocations based on knowledge of a dispatch table (310) in the destination terminal (302) and other information known prior to downloading process. Packager (303) determines sizes of separate code, data dispatch table and temporary symbol areas, incorporates this size information into a header (309d), and transmits a data stream including the header and the aforementioned areas, including partially resolved symbols, to one or more terminals such as home communication terminals (HCTs) in a cable television network. Each receiving terminal (302) extracts the size information and allocates only as much memory as is needed to store each of the separate areas, thus avoiding the need for temporary holding buffer. Receiving terminal thereafter relocates remaining executable instructions to prepare the computer program for execution.
摘要:
A system for preprocessing computer programs before downloading them into terminals includes a packager (303) which processes certain information contained in compiled but unlinked programs (307). The packager (303) partially resolves undefined symbols and relocations based on knowledge of a dispatch table (310) in the destination terminal (302) and other information known prior to downloading process. Packager (303) determines sizes of separate code, data dispatch table and temporary symbol areas, incorporates this size information into a header (309d), and transmits a data stream including the header and the aforementioned areas, including partially resolved symbols, to one or more terminals such as home communication terminals (HCTs) in a cable television network. Each receiving terminal (302) extracts the size information and allocates only as much memory as is needed to store each of the separate areas, thus avoiding the need for temporary holding buffer. Receiving terminal thereafter relocates remaining executable instructions to prepare the computer program for execution.
摘要:
A computer-implemented method and apparatus for restoring operating systems within a set-top box system. The restoration provides for operating a first operating system in a first memory. An application program is operated in a second memory. The first operating system is stored in a second memory so that a second operating system is loaded into the first memory. When a predetermined condition which is associated with the second operating system is detected, the first operating system is loaded into the first memory in response to the detected predetermined condition. Such a system provides such non-limiting advantages to the set-top box as the ability to robustly recover from errors or anomalies associated with downloading an operating system.