blob: 7dda56b6811b79f775933267fe781f4841aa495c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#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*> findDevices(String _class = "");
Device* findDevice(String _class = "", u32int idx = 0);
}
#endif
|