NOVA: Added new hypercalls for Cell management.

This commit is contained in:
Michael Mueller
2024-01-18 18:49:49 +01:00
parent 3c133b459e
commit fe4c8e1dfe
2 changed files with 31 additions and 2 deletions

View File

@@ -66,9 +66,11 @@ namespace Nova {
NOVA_ASSIGN_GSI = 0xe,
NOVA_PD_CTRL = 0xf,
NOVA_YIELD = 0x10,
NOVA_CREATE_CELL= 0x11,
NOVA_MXINIT = 0x11,
NOVA_ALLOC_CORES= 0x12,
NOVA_CORE_ALLOC = 0x13,
NOVA_CREATE_CELL= 0x14,
NOVA_CELL_CTRL = 0x15,
};
/**
@@ -281,6 +283,15 @@ namespace Nova {
HPC_READ = 10U,
};
/**
* Cell operations
*/
enum Cell_op
{
SHRINK = 0,
GROW = 1,
};
/**
* Pd operations
*/