20 #ifndef MACHINE_OF_OF_H 21 #define MACHINE_OF_OF_H 23 #include "pedigree/kernel/machine/openfirmware/types.h" 24 #include "pedigree/kernel/processor/types.h" 42 typedef int (*OFInterface)(
PromArgs *);
64 const char *pService,
int nArgs, OFParam p1 = 0, OFParam p2 = 0,
65 OFParam p3 = 0, OFParam p4 = 0, OFParam p5 = 0, OFParam p6 = 0,
66 OFParam p7 = 0, OFParam p8 = 0);
82 processor_register_t m_Sprg1;
83 processor_register_t m_Sprg2;
84 processor_register_t m_Sprg3;
OFHandle findDevice(const char *pName)
static OpenFirmware & instance()
OFParam call(const char *pService, int nArgs, OFParam p1=0, OFParam p2=0, OFParam p3=0, OFParam p4=0, OFParam p5=0, OFParam p6=0, OFParam p7=0, OFParam p8=0)
processor_register_t m_Sprg0
OFHandle getSibling(class OFDevice *pDev)
void initialise(OFInterface interface)
OFHandle getFirstChild(class OFDevice *pDev)
static OpenFirmware m_Instance