summaryrefslogtreecommitdiff
path: root/Kernel/ProcessList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/ProcessList.cpp')
-rw-r--r--Kernel/ProcessList.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/Kernel/ProcessList.cpp b/Kernel/ProcessList.cpp
new file mode 100644
index 0000000000..aae12f7250
--- /dev/null
+++ b/Kernel/ProcessList.cpp
@@ -0,0 +1,16 @@
+/*
+ * Copyright (c) 2023, Liav A. <liavalb@hotmail.co.il>
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#include <Kernel/Process.h>
+
+namespace Kernel {
+
+ErrorOr<NonnullRefPtr<ProcessList>> ProcessList::create()
+{
+ return adopt_nonnull_ref_or_enomem(new (nothrow) ProcessList());
+}
+
+}