1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:07:35 +00:00

Kernel: Make VMWareBackdoor eternal (since it's never freed)

This commit is contained in:
Andreas Kling 2020-04-08 15:34:26 +02:00
parent e4ab908fe0
commit bb2be4bb99

View file

@ -27,6 +27,7 @@
#pragma once #pragma once
#include <AK/Types.h> #include <AK/Types.h>
#include <AK/kmalloc.h>
namespace Kernel { namespace Kernel {
@ -57,6 +58,8 @@ struct VMWareCommand {
}; };
class VMWareBackdoor { class VMWareBackdoor {
AK_MAKE_ETERNAL;
public: public:
static void initialize(); static void initialize();
static VMWareBackdoor& the(); static VMWareBackdoor& the();