summaryrefslogtreecommitdiff
path: root/Source/Kernel/DeviceManager
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/DeviceManager')
-rw-r--r--Source/Kernel/DeviceManager/Dev.ns.cpp2
-rw-r--r--Source/Kernel/DeviceManager/Dev.ns.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Kernel/DeviceManager/Dev.ns.cpp b/Source/Kernel/DeviceManager/Dev.ns.cpp
index 71ac3c7..9556c6c 100644
--- a/Source/Kernel/DeviceManager/Dev.ns.cpp
+++ b/Source/Kernel/DeviceManager/Dev.ns.cpp
@@ -5,7 +5,7 @@ namespace Dev {
Vector<Device*> devices;
Device* irqHandler[16] = { NULL };
-void handleIRQ(registers_t *regs, int irq) {
+void handleIRQ(registers_t regs, int irq) {
if (irqHandler[irq] != NULL)
irqHandler[irq]->handleIRQ(regs, irq);
}
diff --git a/Source/Kernel/DeviceManager/Dev.ns.h b/Source/Kernel/DeviceManager/Dev.ns.h
index c2651c2..c54abca 100644
--- a/Source/Kernel/DeviceManager/Dev.ns.h
+++ b/Source/Kernel/DeviceManager/Dev.ns.h
@@ -5,7 +5,7 @@
#include <Library/Vector.class.h>
namespace Dev {
- void handleIRQ(registers_t *regs, int irq);
+ void handleIRQ(registers_t regs, int irq);
void registerDevice(Device* dev);
void unregisterDevice(Device* dev);