blob: 4f216ec59eeebfd7fb30fefa0d0e629d0c5ad03c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef DEF_DEVICE_PROTO_H
#define DEF_DEVICE_PROTO_H
#include <Library/String.class.h>
#include <SyscallManager/IDT.ns.h>
class Device {
public:
virtual ~Device() {};
virtual String getClass() = 0;
virtual String getName() = 0;
virtual void handleIRQ(registers_t regs, int irq) {};
};
#endif
|