摘要:
A hardware and/or software facility for controlling the order of operations performed by threads of a multithreaded application on a multiprocessing system is provided. The facility may serialize or selectively-serialize execution of the multithreaded application such that, given the same input to the multithreaded application, the multiprocessing system deterministically interleaves operations, thereby producing the same output each time the multithreaded application is executed. The facility divides the execution of the multithreaded application code into two or more quantum specifying a deterministic number of operations, and the facility specifies a deterministic order in which the threads execute the two or more quantum. The facility may operate together with a transactional memory system. When the facility operates together with a transactional memory system, each quantum is encapsulated in a transaction that, may be executed concurrently with other transactions, and is committed according to the specified deterministic order.
摘要:
There are disclosed methods, computing devices and software products that seek to reduce memory/processor overheads in static priority scheduled operating systems by reducing the number of resource contexts that need to be saved and restored when running a plurality of tasks. This may be achieved by forming mutually-exclusive non-pre-emption groups of tasks, and/or by determining which tasks share a common resource.
摘要:
A computer system (310; 3010) having a reduced power control circuit (311; 3011) which operates in a first reduced power state in which power is reduced to at least one peripheral (318, 321, 322, 327, 331; 3021, 3022, 3023, 3026, 3028, 3031) and in a second reduced power state in which the operating speed of said CPU (311; 3011) is reduced to further limit power to said computer system (310; 3010).
摘要:
A data processing apparatus that can perform high-speed interrupt processing, and a method of controlling such a data processing apparatus are provided. This data processing apparatus includes: an execution unit that executes an instruction read out from a memory; a general register connected to the execution unit; a shadow register also connected to the execution unit; and selectors that allocate to the shadow register a part or the entire part of an address already allocated to the general register when an interrupt is executed in accordance with the instruction.
摘要:
A computer-implemented method and apparatus for transferring the contents of a general register (80), in a register stack (86), to a location in a backing store (94) in a main memory (82). When transferring the contents of a general register to a location in the backing store, the invention proposes collecting attribute bits included in each general register of a predetermined group of registers in a temporary collection register (108 or 110). Once the temporary collection register has been filled, the contents of this register are written to the next available location in the backing store. Similarly, on the restoration of registers from the backing store, a collection of attribute bits saved in the backing register is transferred to a temporary collection register. Thereafter, each attribute bit is saved together with associated data into a general register, thereby to restore the former contents of each general register.
摘要:
A processor, a task management table, and a scheduler are built in a microcontroller. The processor sequentially runs a plurality of tasks for controlling hardware engines (cores) respectively allocated thereto. The task management table stores task management information which includes state information (ST INFO) representative of the execution state of each task, priority information (PRI INFO) representative of the execution priority of each task, and core identification information (CID INFO) representative of the allocation of the tasks to the cores. The scheduler allows the processor to switch between tasks on the basis of the task management information when a given instruction is decoded or when the execution of any one of the cores is terminated.
摘要:
A system management mode address correction system for a computer provides correct address values on the address bus when the computer is in system management mode. Conventionally, bit 20 of the microprocessor's address outputs may be masked by asserting the FORCE A20 signal. The computer system also operates in a system management mode, which requires all of the address bits to be available for proper access to the system management interrupt vector. When the computer is in system management mode, the computer's microprocessor asserts a system management interrupt active (SMIACT*) signal. This signal is provided to a circuit which also receives the FORCE A20 signal. While the SMIACT signal is deactivated, the control circuit provides the true FORCE A20 signal to the computer system. When an SMI occurs, the SMIACT signal is activated and the FORCE A20 signal is disabled. As a result, the address generated by the microprocessor is asserted on the address bus.
摘要:
In accordance with the present invention, a resume processing driver for an advanced microprocessor, such as the Intel 80386 operating in enhanced mode, is provided which saves data indicative of the operating conditions of the advanced microprocessor into system memory and then calls a previously existing resume processing routine designed for a previously existing operating system, such as MS-DOS operating in real mode. The previously existing resume processing routine performs additional processing in order to save operating condition data associated with the previously existing operating system into system memory, and then performs a controlled power off sequence and removes the power supplied to all elements of the computer except the computer memory. Thereafter, the existing resume processing routine performs processing to restore the operating condition data associated with the previously existing operating system from system memory and then passes control to the resume processing driver of the present invention. The resume processing driver restores the data indicative of the operating conditions of the advanced microprocessor from system memory, and control then passes to the computer program which was executing before the resume processing driver was initiated. In addition, in another embodiment, the present invention is able to properly switch from the enhanced mode to the real mode and then back to the enhanced mode for use in applications other than resume functions.
摘要:
A memory in a task switching system includes, for example, five memory banks (0 to 4) and one common area. Physical address areas (2000H to 13FFFH) different from each other are respectively assigned to the memory banks (0 to 4), and common apparent addresses (2000H to 7FFFH) are assigned to each of the memory banks (0 to 4). In addition, the common area stores a task control block including start address information, stack pointer information, queue information, bank information and the like. At the time of task switching, any one of the five memory banks (0 to 4) is used as a memory bank for reading on the basis of the bank information in the task control block and a task is read out on the basis of the apparent addresses (2000H to 7FFFH) assigned to the memory bank.