Back to results
US 8,752,060 B2Granted
Multi-CPU domain mobile electronic device and operation method thereof
AssigneeMStar Semiconductor, Inc.
InventorsCheng-Hsueh Hsieh, Kuo-Chuan Huang
Life of this patent
Estimating the term…
Abstract
A multi-CPU domain mobile electronic device, includes: a first CPU domain, comprising at least a first migration agent unit, the first migration agent unit detecting a task migration condition, determining whether to migrate a migratable task, and sending an associated migration event, and a second CPU domain, comprising at least a second migration agent unit, the second migration agent unit receiving the migratable task from the first migration agent unit.
Claims10
A multi-CPU domain mobile electronic device, comprising:
- a first CPU domain, comprising:
- a first migration agent unit;
- a first run queue;
- and
- a low efficiency low power CPU;
- wherein the first migration agent unit detects a task migration condition, and determines whether to migrate a migratable task;
- a second CPU domain, comprising:
- a second migration agent unit;
- a second run queue;
- and
- a high efficiency high power CPU;
- a set of common hardware resources, shared by both the first CPU domain and the second CPU domain, comprising:
- a shared memory, a set of shared interrupts, a set of programmed processing blocks, and an event queue;
- wherein when the first task migration agent unit determines to migrate the migratable task from the first CPU domain to the second CPU domain, the first task migration unit performs the following steps:
- waking up the second CPU domain from a power-saving mode, comprising:
- waking the high efficiency high power CPU;
- making the second migration agent unit operate under a normal operating mode;
- and
- making the second run queue operate under a normal operating mode;
- sending out a migration signal to the migratable task for informing that the migratable task is to be migrated to the second CPU domain, wherein a status of the migratable task after receiving the migration signal is altered to a migratable state;
- updating a task control block (TCB) of the migratable task;
- putting the migratable task to a migration task list;
- sending out the migration event to the event queue;
- migrating migratable tasks from the first run queue to the shared memory;
- and
- informing the second migration agent unit by an interrupt service routine (ISR) that the migration event is awaiting to be executed;
- wherein the migratable task is executed by the second CPU domain after the second migration agent unit receives the migration event.
24 more elements
A multi-CPU domain mobile electronic device operation method, comprising:
- providing a low efficiency low power CPU, a first run queue, and a first task migration agent unit in a first CPU domain;
- providing a high efficiency high power CPU, a second run queue, and a second task migration agent unit in a second CPU domain;
- providing a set of common hardware resources, shared by both the first CPU domain and the second CPU domain, comprising:
- a shared memory, a set of shared interrupts, a set of programmed processing blocks, and an event queue;
- detecting a task migration condition by the first task migration agent unit;
- deciding to migrate migratable tasks from a first CPU domain to a second CPU domain by the first task migration agent unit;
- sending out a migration signal to the migratable task for informing that the migratable task is to be migrated to the second CPU domain, wherein a status of the migratable task after receiving the migration signal is altered to a migratable state;
- updating a task control block (TCB) of the migratable task;
- putting the migratable task to a migration task list;
- sending out the migration event from the first migration agent unit to the event queue when the first migration agent unit decides to migrate migratable task;
- migrating migratable tasks from the first run queue to the shared memory;
- waking up the second CPU domain from a power-saving mode and informing the second migration agent unit by an interrupt service routine (ISR) from the first migration agent unit that the migration events are awaiting to be executed;
- performing access control of the shared memory based on the migration event;
- and
- executing the migratable task by the second CPU domain after the second migration agent unit receives the migration event.
12 more elements
Dependencies are inferred from the claim text.