summaryrefslogtreecommitdiff
path: root/Source/Kernel/Devices/Device.proto.h
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-08-22 21:44:32 +0200
committerAlexis211 <alexis211@gmail.com>2009-08-22 21:44:32 +0200
commit2582a11c37ccc22d64974b20b0793e5ba873fe1f (patch)
tree485565c0950f0355290690d3396bcb4c22774fd0 /Source/Kernel/Devices/Device.proto.h
parent74e721676ddd5d996ccf2e1d35da57320f658609 (diff)
downloadMelon-2582a11c37ccc22d64974b20b0793e5ba873fe1f.tar.gz
Melon-2582a11c37ccc22d64974b20b0793e5ba873fe1f.zip
Lots of stuff added : heap, timer, device managment, ...
Diffstat (limited to 'Source/Kernel/Devices/Device.proto.h')
-rw-r--r--Source/Kernel/Devices/Device.proto.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Source/Kernel/Devices/Device.proto.h b/Source/Kernel/Devices/Device.proto.h
new file mode 100644
index 0000000..fa31b06
--- /dev/null
+++ b/Source/Kernel/Devices/Device.proto.h
@@ -0,0 +1,16 @@
+#ifndef DEF_DEVICE_PROTO_H
+#define DEF_DEVICE_PROTO_H
+
+#include <Library/String.class.h>
+
+#include <SyscallManager/IDT.ns.h>
+
+class Device {
+ public:
+ virtual String getClass() = 0;
+ virtual String getName() = 0;
+
+ virtual void handleIRQ(registers_t *regs, int irq) {};
+};
+
+#endif