History log of /seL4-refos-master/libs/libplatsupport/src/plat/am335x/timer.c
Revision Date Author Comments
# ef1dfb7d 20-May-2020 Michael Yoo <michael.yoo@data61.csiro.au>

libplatsupport: refactor more timers

- The following platforms are changed: am335x,
fvp, hikey, rockpro64
- All platforms pass build
- Except for fvp which doesn't have a machine handy,
the other 3 platforms pass sel4test
- For each platform, the ltimer.c and device-specific
code is more intertwined than I would have liked,
including things like device code branching on
`LTIMER` constants, but I think cleaning the
interface is a project for later


# 31026b80 02-Feb-2020 James Ye <james.ye@data61.csiro.au>

libplatsupport: return error if am335x timeout too long

Don't abort in the driver for a client error.


# c15979b4 22-Oct-2019 Oliver Scott <Oliver.Scott@data61.csiro.au>

bbone-timer: update timer for mcs

-remove tick calculations and use frequency lib
-fix bug checking wrong irq bit
-update get time to use 64bit counter
-fix race in ltimer
-return correct error
-use UINT32_MAX


# 1101901e 22-Oct-2019 Oliver Scott <Oliver.Scott@data61.csiro.au>

trivial: style and licence


# 9784983e 17-Oct-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Fix bug in am225x dm timer driver

- TISR_OVF_FLAG was actually the flag for all the irqs, so when we
checked for pending overflow irqs we checked for any pending irq
- break the definition up into a flag for each possible pending irq
- add a getter to check if a match irq is pending (the way the ltimer
uses the dmt it needs to check for a match not an overflow anyway)
- only increment the ltimer's ms when getting the time if this match flag is set


# b17f2e13 23-Jul-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Refactor beaglebone timer

- remove pstimer wrappers
- explicitly use dmt, rename variants of dm_timer, dmt, to dmt
- expose dmt interface


# a7130f9f 04-Jun-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

fix licenses


# 3bd35371 15-Mar-2016 Anna Lyons <Anna.Lyons@nicta.com.au>

libplatsupport: Use stubtimer timeout method

Remove a bunch of duplicated code.


# 7c2445e5 15-Mar-2016 Anna Lyons <Anna.Lyons@nicta.com.au>

libplatsupport: Expand timer properties

Indicate the types of timeout supported in the properties.


# ee9dfc55 15-Mar-2016 Anna Lyons <Anna.Lyons@nicta.com.au>

libplatsupport: Use stubtimer timeout method

Remove a bunch of duplicated code.


# 28fd95e9 15-Mar-2016 Anna Lyons <Anna.Lyons@nicta.com.au>

libplatsupport: Expand timer properties

Indicate the types of timeout supported in the properties.