25 #include "pedigree/kernel/machine/Bus.h" 26 #include "pedigree/kernel/machine/Controller.h" 27 #include "pedigree/kernel/machine/Device.h" 28 #include "pedigree/kernel/machine/Disk.h" 29 #include "pedigree/kernel/machine/Pci.h" 35 return ArmBeagle::instance();
40 Bus *pL4 =
new Bus(
"L4-Interconnect");
118 String(
"DSI Protocol Engine"), 0x4804FC00, 512,
false));
122 String(
"DSI PLL Controller"), 0x4804FF00, 32,
false));
124 String(
"Display Subsystem"), 0x48050000, 512,
false));
126 String(
"Display Controller"), 0x48050400, 1024,
false));
160 m_Serial[0].setBase(0x49020000);
164 m_bInitialised =
true;
172 g_SyncTimer.initialise(0x48320000);
174 m_Timers[0].initialise(0, 0x48318000);
175 m_Timers[1].initialise(1, 0x49032000);
176 m_Timers[2].initialise(2, 0x49034000);
177 m_Timers[3].initialise(3, 0x49036000);
178 m_Timers[4].initialise(4, 0x49038000);
179 m_Timers[5].initialise(5, 0x4903A000);
180 m_Timers[6].initialise(6, 0x4903C000);
181 m_Timers[7].initialise(7, 0x4903E000);
182 m_Timers[8].initialise(8, 0x49040000);
183 m_Timers[9].initialise(9, 0x48086000);
184 m_Timers[10].initialise(10, 0x48088000);
186 I2C::instance(0).initialise(0x48070000);
187 I2C::instance(1).initialise(0x48072000);
188 I2C::instance(2).initialise(0x48060000);
190 Gpio::instance().initialise(
191 0x48310000, 0x49050000, 0x49052000, 0x49054000, 0x49056000, 0x49058000);
virtual SchedulerTimer * getSchedulerTimer()
virtual Keyboard * getKeyboard()
virtual size_t getNumSerial()
virtual void initialise2()
Called after debugger startup.
virtual size_t getNumVga()
virtual void setInterruptNumber(uintptr_t n)
virtual Vector< Address * > & addresses()
static void addToRoot(Device *device)
virtual Vga * getVga(size_t n)
virtual Timer * getTimer()
void initialise(uintptr_t base)
virtual Serial * getSerial(size_t n)
virtual void setSpecificType(String str)
void addChild(Device *pDevice)
void setParent(Device *p)
void setPciIdentifiers(uint8_t classCode, uint8_t subclassCode, uint16_t vendorId, uint16_t deviceId, uint8_t progIf)
virtual void initialiseDeviceTree()
virtual void initialise()