SPARC: Emulation of GRLIB GPTimer
commit0f3a4a01ebafe93055069418c9d65cc7b1493b41
authorFabien Chouteau <chouteau@adacore.com>
Mon, 24 Jan 2011 11:56:52 +0000 (24 12:56 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Mon, 24 Jan 2011 20:54:33 +0000 (24 20:54 +0000)
treedc5668beb485753bc3695fb3c97a910d68d40b6a
parentb835e919f022d768abdf00e8dc94f1a23fdcab15
SPARC: Emulation of GRLIB GPTimer

This device exposes three parameters:
 - frequency (uint32) : The system frequency
 - irq-line  (uint32) : IRQ line number for the first timer
                        (others use irq-line + 1, irq-line + 2...)
 - nr-timers (uint32) : Number of timers

Emulation of GrLib devices is base on the GRLIB IP Core User's Manual:
http://www.gaisler.com/products/grlib/grip.pdf

Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/grlib.h [new file with mode: 0644]
hw/grlib_gptimer.c [new file with mode: 0644]
trace-events