mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
by waiting for new tasks, the core will be set to the C3 state
=> reduce the power consumption
This commit is contained in:
parent
068fbf2cb6
commit
e7849997d7
1 changed files with 1 additions and 1 deletions
|
@ -148,6 +148,6 @@ void wait_for_task(void)
|
|||
clflush(queue);
|
||||
|
||||
monitor(queue, 0, 0);
|
||||
mwait(0xF /* = c0 */, 1 /* break on interrupt flag */);
|
||||
mwait(0x2 /* 0x2 = c3, 0xF = c0 */, 1 /* break on interrupt flag */);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue