Skip to contentSkip to conversation

AT91 Timer/Counter

PATCH In review Filip Navara 1 participant 1 message Jul 15, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 11/14 AT91 Timer/Counter

Only the timer part of the the Timer/Counter block is implemented since there is no interface for connection of external clocks in QEMU, so there is nothing to measure. The minimal implementation is done using host timers and an internal counter.

This implementation is sufficient for running the Atmel examples, but leaves a lot to be desired.

---
 Makefile.target |    2 +-
 hw/at91_tc.c    |  291 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 292 insertions(+), 1 deletions(-)
 create mode 100644 hw/at91_tc.c
Makefile.target +1 -1
index 8ca1c1e..b008400 100644
@@ -667,7 +667,7 @@ obj-y += syborg.o syborg_fb.o syborg_interrupt.o syborg_keyboard.o
 obj-y += syborg_serial.o syborg_timer.o syborg_pointer.o syborg_rtc.o
 obj-y += syborg_virtio.o
 obj-y += at91_aic.o at91_dbgu.o at91_pio.o at91_pit.o at91_pmc.o at91_rtt.o
-obj-y += at91_rstc.o at91_intor.o
+obj-y += at91_rstc.o at91_intor.o at91_tc.o
 obj-y += gpio_rotary.o gpio_keypad.o
 CPPFLAGS += -DHAS_AUDIO
 endif
hw/at91_tc.c new file +291 -0

291 lines not on this page · raw message

Signature · 1 line
1.6.3.msysgit.0