summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-08 15:34:26 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-08 17:19:46 +0200
commitbb2be4bb99b24463e529f9dc9e1c925a7666a1f1 (patch)
tree596c171a8d1c8a313810cbe640630f2d9d5b5a28
parente4ab908fe0c29ae7eef506149367fb2018c7c776 (diff)
downloadserenity-bb2be4bb99b24463e529f9dc9e1c925a7666a1f1.zip
Kernel: Make VMWareBackdoor eternal (since it's never freed)
-rw-r--r--Kernel/Devices/VMWareBackdoor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Devices/VMWareBackdoor.h b/Kernel/Devices/VMWareBackdoor.h
index 178fb7092e..279ff4a8c8 100644
--- a/Kernel/Devices/VMWareBackdoor.h
+++ b/Kernel/Devices/VMWareBackdoor.h
@@ -27,6 +27,7 @@
#pragma once
#include <AK/Types.h>
+#include <AK/kmalloc.h>
namespace Kernel {
@@ -57,6 +58,8 @@ struct VMWareCommand {
};
class VMWareBackdoor {
+ AK_MAKE_ETERNAL;
+
public:
static void initialize();
static VMWareBackdoor& the();