mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-08 02:11:47 +00:00
parent
10d7741a26
commit
00f7819623
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
/* Genode includes */
|
/* Genode includes */
|
||||||
#include <base/log.h>
|
#include <base/log.h>
|
||||||
#include <drivers/defs/rpi.h>
|
|
||||||
#include <gpio/driver.h>
|
#include <gpio/driver.h>
|
||||||
#include <irq_session/connection.h>
|
#include <irq_session/connection.h>
|
||||||
|
|
||||||
@ -30,6 +29,10 @@ static int verbose = 1;
|
|||||||
|
|
||||||
namespace Gpio { class Rpi_driver; }
|
namespace Gpio { class Rpi_driver; }
|
||||||
|
|
||||||
|
namespace Rpi {
|
||||||
|
enum { GPIO_CONTROLLER_BASE = 0x20200000,
|
||||||
|
GPIO_CONTROLLER_SIZE = 0x1000 };
|
||||||
|
};
|
||||||
|
|
||||||
class Gpio::Rpi_driver : public Driver
|
class Gpio::Rpi_driver : public Driver
|
||||||
{
|
{
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include <base/component.h>
|
#include <base/component.h>
|
||||||
#include <base/log.h>
|
#include <base/log.h>
|
||||||
#include <base/heap.h>
|
#include <base/heap.h>
|
||||||
#include <drivers/defs/rpi.h>
|
|
||||||
#include <gpio/component.h>
|
#include <gpio/component.h>
|
||||||
#include <gpio/config.h>
|
#include <gpio/config.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user