blob: aa52e81979a3bdd042bcbb21c4d62c2e6fa63b2e (
plain) (
tree)
|
|
#ifndef DEF_DEV_NS_H
#define DEF_DEV_NS_H
#include <Devices/Device.proto.h>
#include <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
|