summaryrefslogtreecommitdiffhomepage
path: root/Kernel/KernelKit/DeviceManager.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-07-13 15:15:25 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-07-13 15:15:48 +0200
commita00e0960d0dfe70771928a9809f78a582a25886d (patch)
tree880520469ce87d3588d5bd0b21ae6069a32085f9 /Kernel/KernelKit/DeviceManager.hpp
parentb6977baf35447048425111d2b1d9d4d32438919a (diff)
[FIX] Device I/O fields shall be set to address 0 when invalid.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Kernel/KernelKit/DeviceManager.hpp')
-rw-r--r--Kernel/KernelKit/DeviceManager.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/KernelKit/DeviceManager.hpp b/Kernel/KernelKit/DeviceManager.hpp
index 00b4a0b7..125422c8 100644
--- a/Kernel/KernelKit/DeviceManager.hpp
+++ b/Kernel/KernelKit/DeviceManager.hpp
@@ -72,8 +72,8 @@ namespace Kernel
}
private:
- void (*fOut)(T Data);
- void (*fIn)(T Data);
+ void (*fOut)(T Data) = {nullptr};
+ void (*fIn)(T Data) = {nullptr};
};
///