History log of /seL4-camkes-master/projects/util_libs/libplatsupport/src/arch/arm/clock.c
Revision Date Author Comments
# d8cf923e 11-Dec-2019 Damon Lee <Damon.Lee@data61.csiro.au>

trivial: Style changed files


# 25662396 11-Dec-2019 Damon Lee <Damon.Lee@data61.csiro.au>

platsupport: Remove weak subsystem init symbols

Having the clock and mux subsystem initialisation functions be a weak
symbol presents a number of problems. One of these problems is that the
linker may stop looking for other suitable symbols in other external
libraries.


# 3b68508f 30-Oct-2018 Kent McLeod <Kent.Mcleod@data61.csiro.au>

platsupport: Provide default subsystem init impls

clock_sys_init and mux_sys_init functions now have a WEAK symbol
definition. If a platform provides a strong symbol definition, the
linker will override the default.


# 9f2b6d50 26-May-2017 Jonas Claeson <jonas.cl@protonmail.com>

Fixed warnings found by clang

~/seL4test/libs/libplatsupport/src/arch/arm/clock.c:45:22: warning: comparison of unsigned enum expression >= 0 is always true [-Wtautological-compare]
((void)((clk->id >= 0 && clk->id < NCLOCKS) || (__assert_fail("clk->id >= 0 && clk->id < NCLOCKS", "~/seL4test/libs/libplatsupport/src/arch/arm/clock.c", 45, __func__),0)));
~~~~~~~ ^ ~
~/seL4test/libs/libplatsupport/src/arch/arm/clock.c:70:12: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare]
if (id < 0 || id >= NCLOCKS) {
~~ ^ ~
~/seL4test/libs/libplatsupport/src/arch/arm/clock.c:105:12: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare]
if (id < 0 || id >= NCLOCKS) {
~~ ^ ~
~/seL4test/libs/libplatsupport/src/arch/arm/clock.c:116:12: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare]
if (id < 0 || id >= NCLOCKS) {
~~ ^ ~
4 warnings generated.


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

fix licenses


# 03ede780 23-Aug-2016 Kent McLeod <kent.mcleod@nicta.com.au>

Remove trailing whitespace


# 27c0ffc7 15-May-2016 Matthew Fernandez <matthew.fernandez@nicta.com.au>

libplatsupport: Qualify a char * parameter.