TaskCtrl execute 'halt' if there's no task.
However, under environment which support 'MWAIT/MONITOR' instruction, these instructions should be used instead of 'halt'.
So, define new class which control computer halting, and use suitable way to sleep.
TaskCtrl execute 'halt' if there's no task.
However, under environment which support 'MWAIT/MONITOR' instruction, these instructions should be used instead of 'halt'.
So, define new class which control computer halting, and use suitable way to sleep.