diff options
author | Alexis211 <alexis211@gmail.com> | 2009-08-22 21:44:32 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-08-22 21:44:32 +0200 |
commit | 2582a11c37ccc22d64974b20b0793e5ba873fe1f (patch) | |
tree | 485565c0950f0355290690d3396bcb4c22774fd0 /Source/Kernel/DeviceManager/Dev.ns.h | |
parent | 74e721676ddd5d996ccf2e1d35da57320f658609 (diff) | |
download | Melon-2582a11c37ccc22d64974b20b0793e5ba873fe1f.tar.gz Melon-2582a11c37ccc22d64974b20b0793e5ba873fe1f.zip |
Lots of stuff added : heap, timer, device managment, ...
Diffstat (limited to 'Source/Kernel/DeviceManager/Dev.ns.h')
-rw-r--r-- | Source/Kernel/DeviceManager/Dev.ns.h | 19 |
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 + |