diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-12-21 11:42:50 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2010-12-21 11:42:50 +0100 |
commit | bb8e7336e4248b21517ed18a75b4d0343a3a0d53 (patch) | |
tree | 3f0c841ee1298a846f2d2a05202a219f6c6ef4b2 /device.c | |
parent | 5da40cbf6daae35ad4948476bac7827f81ee7904 (diff) |
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -13,10 +13,12 @@ #include "nios2sim-ng.h" #include "device.h" +#include "timer.h" #include "uart.h" #include "jtag_uart.h" static struct device *devices[] = { + &timer_core, &uart_core, &jtag_uart_core, }; @@ -24,6 +26,7 @@ static struct device *devices[] = { bool device_generic_is_dev_addr(struct device *dev, uint32_t addr) { + /* XXX: Also check alignment? */ if (addr >= dev->base && addr < dev->base + dev->size) return true; |