blob: b0db514b9dd025ec4bdca6fa35c0fca14da075fd (
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 <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
|