diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-08 15:34:26 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-08 17:19:46 +0200 |
commit | bb2be4bb99b24463e529f9dc9e1c925a7666a1f1 (patch) | |
tree | 596c171a8d1c8a313810cbe640630f2d9d5b5a28 /Kernel/Devices | |
parent | e4ab908fe0c29ae7eef506149367fb2018c7c776 (diff) | |
download | serenity-bb2be4bb99b24463e529f9dc9e1c925a7666a1f1.zip |
Kernel: Make VMWareBackdoor eternal (since it's never freed)
Diffstat (limited to 'Kernel/Devices')
-rw-r--r-- | Kernel/Devices/VMWareBackdoor.h | 3 |
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(); |