History log of /seL4-refos-master/projects/util_libs/libplatsupport/src/plat/pc99/hpet.c
Revision Date Author Comments
# 2740d2d2 16-Jul-2020 Kent McLeod <Kent.Mcleod@data61.csiro.au>

platsupport,hpet: Remove float division operation

The .0f extension should be redundant if the result is being stored in
an int type.


# 3f9cdc14 19-May-2019 Yu Hou <Yu.Hou@data61.csiro.au>

util_libs: remove autoconf.h from util_libs

this commit removes autoconf.h generation from each lib and
append '#include <<lib_name>/gen_config.h>' after each
'#include <autoconf.h>' since autoconf.h is only the for the
kernel config now. This is a temporarily solution, since we
currently don't have a way to tell which header files each file
is trying to include when it includes 'autoconf.h'


# 7c5081bc 19-Jul-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Add hpet_level to hpet interface

Gets the level from the HPET mapped device frame


# f646a11d 19-Jul-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Add hpet_parse_acpi to hpet interface


# 0e0c66e3 19-Jul-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Remove pstimer_t from hpet

Users just interface with hpet directly


# 398af6af 13-Jul-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Fix whitespace

- remove trailing whitespace
- remove duplicate blank lines
- remove blank lines at end of file


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

fix licenses


# 478bb400 11-Jan-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

libplatsupport: Refactor HPET to use constant register offsets

Previously the HPET driver stored pointers to different registers in its run time
data structure. This both wastes memory for no reason, and is inefficient as the
compiler has no way to optimize the fact that they are constant offsets from
each other. This commit saves a single base pointer and uses constant offsets
for the different reigsters. In addition we use explicit compiler barriers as
casting between volatile and non volatile pointers is undefined behaviour
according to the C standard


# 24c70aa9 11-Jan-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

libplatsupport: Update error printing in hpet

Change error messages to consistently use ZF_LOGE


# b7c75d8d 11-Jan-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

libplatsupport: Remove include guards in hpet.c

This is not a header file and so shouldn't have guards


# 1e08cafb 10-Jan-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

libplatsupport: Functions for querying HPET capabilities

Adds two functions for querying HPET capabilities. These allow a user to
pick at run time between different HPET modes having to just try and
initialize the HPET and guess why it failed.


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

libplatsupport: Expand timer properties

Indicate the types of timeout supported in the properties.


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

libplatsupport: Expand timer properties

Indicate the types of timeout supported in the properties.


# b701021a 29-Nov-2015 Adrian Danis <Adrian.Danis@nicta.com.au>

libplatsupport: Support full 64-bit counter reads in the hpet


# edecc9a5 08-Sep-2015 Adrian Danis <Adrian.Danis@nicta.com.au>

libplatsupport: Fix various 32-bit assumptions