nova: add feature to yield a thread

used by virtualbox intensively
This commit is contained in:
Alexander Boettcher
2014-01-30 10:19:17 +01:00
committed by Christian Helmuth
parent 39a7ffd233
commit dd95266235
7 changed files with 128 additions and 7 deletions

View File

@@ -147,6 +147,11 @@ namespace Nova {
*/
enum Sem_op { SEMAPHORE_UP = 0U, SEMAPHORE_DOWN = 1U, SEMAPHORE_DOWNZERO = 0x3U };
/**
* Ec operations
*/
enum Ec_op { EC_RECALL = 0U, EC_YIELD = 1U };
class Descriptor
{