summaryrefslogtreecommitdiffhomepage
path: root/dev/modules/Pwr
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-28 19:57:33 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-28 19:57:33 +0100
commitba7b3ed69cd24970a28b72c54982735cd120e663 (patch)
tree934b7645435ab1bfd2d8eb99fa861fc09e3dd5b4 /dev/modules/Pwr
parent2205e801a6e84238dc8cbbb8f9de5a675eae1d81 (diff)
kernel: breaking: Change namespace from NeOS to Kernel.
sched: Fix redundancy in NeKernel's user scheduler macros, refactored the other files using the redundant macros too. part one of a series of commit for NeKernel. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/modules/Pwr')
-rw-r--r--dev/modules/Pwr/PowerFactory.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/dev/modules/Pwr/PowerFactory.h b/dev/modules/Pwr/PowerFactory.h
deleted file mode 100644
index 02d2e092..00000000
--- a/dev/modules/Pwr/PowerFactory.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* -------------------------------------------
-
- Copyright (C) 2025, Amlal EL Mahrouss, all rights reserved.
-
-------------------------------------------- */
-
-#pragma once
-
-#include <KernelKit/DebugOutput.h>
-#include <modules/ACPI/ACPI.h>
-#include <NewKit/ErrorOr.h>
-#include <NewKit/Defines.h>
-#include <NewKit/Ref.h>
-
-#define NE_POWER_FACTORY : public PowerFactory
-
-namespace NeOS
-{
- class PowerFactory;
-
- class PowerFactory
- {
- public:
- explicit PowerFactory() = default;
- virtual ~PowerFactory() = default;
-
- PowerFactory& operator=(const PowerFactory&) = default;
- PowerFactory(const PowerFactory&) = default;
-
- public:
- Bool Shutdown()
- {
- return NO;
- }; // shutdown
- Void Reboot(){}; // soft-reboot
- };
-} // namespace NeOS \ No newline at end of file