mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
Kernel: Assert if we try to initialize VMWareBackdoor more than once
This commit is contained in:
parent
02c9f4c951
commit
e9df6189f4
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ static bool detect_presence()
|
|||
|
||||
VMWareBackdoor* VMWareBackdoor::initialize()
|
||||
{
|
||||
ASSERT(s_vmware_backdoor == nullptr);
|
||||
if (!detect_presence())
|
||||
return nullptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue