summaryrefslogtreecommitdiff
path: root/Source/Kernel/DeviceManager/Dev.ns.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/DeviceManager/Dev.ns.h')
-rw-r--r--Source/Kernel/DeviceManager/Dev.ns.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Source/Kernel/DeviceManager/Dev.ns.h b/Source/Kernel/DeviceManager/Dev.ns.h
new file mode 100644
index 0000000..c2651c2
--- /dev/null
+++ b/Source/Kernel/DeviceManager/Dev.ns.h
@@ -0,0 +1,19 @@
+#ifndef DEF_DEV_NS_H
+#define DEF_DEV_NS_H
+
+#include <Devices/Device.proto.h>
+#include <Library/Vector.class.h>
+
+namespace Dev {
+ void handleIRQ(registers_t *regs, int irq);
+
+ void registerDevice(Device* dev);
+ void unregisterDevice(Device* dev);
+
+ bool requestIRQ(Device* dev, int irq);
+
+ Vector<Device*> findDevice(String _class = "");
+}
+
+#endif
+