1
0
mirror of https://github.com/momo5502/hypervisor.git synced 2025-07-05 10:41:50 +00:00

Extract into library

This commit is contained in:
Maurice Heumann
2022-12-27 16:27:33 +01:00
parent f8f636a829
commit 28dd94f2ef
31 changed files with 279 additions and 237 deletions

View File

@ -261,15 +261,15 @@ hypervisor* hypervisor::get_instance()
return instance;
}
void hypervisor::handle_process_termination(const process_id process)
bool hypervisor::cleanup_process(const process_id process)
{
if (!this->ept_->handle_process_termination(process))
if (!this->ept_->cleanup_process(process))
{
return;
return false;
}
debug_log("Handled termination of %X\n", process);
this->invalidate_cores();
return true;
}
void hypervisor::enable()