9ef7dff3f0b7c7a1f30256ed1657b8b9ffa9eb85
[rpi-open-firmware.git] / drivers / BCM2708ArmControl.cc
1 /*
2 * VideoCore4_Drivers
3 * Copyright (c) 2017 Kristina Brooks
4 *
5 * ARM control driver.
6 */
7
8 #include <drivers/IODevice.hpp>
9 #include <drivers/BCM2708PowerManagement.hpp>
10
11 #define FLAG_BUSY (1 << 31)
12
13 struct BCM2708ArmControl : IODevice {
14 IODriverConstructor(BCM2708ArmControl);
15
16 virtual void start() override {
17 IODriverLog("starting ...");
18
19 IODevice::start();
20 }
21
22 virtual void init() override {
23 setName("BCM2708ArmControl");
24 setTag('ARMC');
25 }
26 };
27
28 IODriverCreateSingletonInstance(BCM2708ArmControl);
29
This page took 0.064863 seconds and 3 git commands to generate.