| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
based on include-what-you-use suggestions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The timecounter struct is large and I think it may change in the
future. Changing it later will be easier if we use C99-style
initialization for all timecounter structs. It also makes reading the
code a bit easier.
For reasons I cannot explain, switching to C99-style initialization
sometimes changes the hash of the resulting object file, even though
the resulting struct should be the same. So there is a binary change
here, but only sometimes. No behavior should change in either case.
I can't compile-test this everywhere but I have been staring at the
diff for days now and I'm relatively confident this will not break
compilation. Fingers crossed.
ok gnezdo@
|
|
|
|
| |
ok tb@, deraadt@
|
|
|
|
|
|
|
|
|
| |
Checked against
* ARM Architecture Reference Manual (agtimer)
* ARM Cortex-A9 MPCore Technical Reference Manual (amptimer)
* OMAP35x Applications Processor Technical Reference Manual (gptimer)
Artturi Alm had independently suggested this in the past.
|
|
|
|
| |
ok jsg@, patrick@
|
|
|
|
|
|
| |
of an array to a null pointer that is always false. Found with clang.
ok jsg@
|
|
|
|
|
|
|
|
|
|
| |
function for platforms that have it, rework the code a bit such that it can
be used before agtimer(4) attaches. Introduce a new agtimer_init()
function that checks whether the CPU implements the Generic Timer feature
and switches to agtimer_delay() if that feature is present. Call this
function from the generic platform initialization code.
ok jsg@
|
|
|
|
| |
ok patrick@, jsg@
|
| |
|
|
|
|
|
|
|
|
|
| |
the qemu cortex a15 useable without trustzone.
Establish the interrupt for the non-secure physical timer (30), in
addition to the secure physical timer (29).
Stop masking the timer output signal in the interrupt handler.
|
| |
|
|
|
|
| |
coprocessor space.
|
|
|