History log of /seL4-l4v-10.1.1/seL4/src/plat/spike/machine/hardware.c
Revision Date Author Comments
# ffbb2783 17-Sep-2018 Anna Lyons <Anna.Lyons@data61.csiro.au>

trivial: move MS_IN_S to utils.h


# 63a9e6ba 17-Sep-2018 Anna Lyons <Anna.Lyons@data61.csiro.au>

Update MS_IN_S to be llu

If verification ever see this constant the proofs are much nicer if the
type is specified.


# be64f7e2 17-Sep-2018 Anna Lyons <Anna.Lyons@data61.csiro.au>

trivial: s/MS_PER_S/MS_IN_S

This is consistent with time defintions on the new-rt branch of the
kernel.


# b63d026b 27-Jul-2018 Chris Guikema <chris.guikema@dornerworks.com>

riscv: add cycle count for scheduling timer.

This commit adds a cmake variable for the Clock Frequency used
in the rdtime instruction, which is used for the scheduling tick.

The resetTimer and initTimer functions were updated to use a
calculated cycle count, which is based on the clock frequency and
the timer tick variable.

Change-Id: I130013003ed2c4aec8d5d294624413ee05477d58


# 4cb1d5df 17-Jun-2018 Adrian Danis <Adrian.Danis@data61.csiro.au>

riscv: Define explicit functions for registers

Replaces (read|write|set|clear)_csr macros with explicit functions. This provides a boundary
for verification to reason about the operation.


# cf697768 14-May-2018 Kent McLeod <Kent.Mcleod@data61.csiro.au>

RISCV: Update #ifdef to test compiler variable

The previous config variable wasn't set by CMake. Testing the compiler
variable is more consistent with all other checks.


# d3c12988 10-Apr-2018 Adrian Danis <Adrian.Danis@data61.csiro.au>

riscv: Remove todos

This have been converted to JIRA issues.


# 76c61025 10-Apr-2018 Anna Lyons <Anna.Lyons@data61.csiro.au>

riscv: remove dev_pregs

We don't have any devices currently, and in future they will be
discovered, not statically specified.


# 6938c98a 08-Apr-2018 Adrian Danis <Adrian.Danis@data61.csiro.au>

riscv: Fill physical memory regions from FDT

Removes the hardcoded physical memory region from the spike platform and fills it from
FDT parsing instead.


# 073bbff8 03-Apr-2018 Adrian Danis <Adrian.Danis@data61.csiro.au>

riscv: Prevent race with acking timer interrupt


# 85e2b33c 03-Apr-2018 Adrian Danis <Adrian.Danis@data61.csiro.au>

riscv: Return something from get_dev_p_reg

This function will not actually get called due to get_num_dev_p_regs
returning 0, but it still needs a valid implementation.


# 5aa2f7ee 03-Apr-2018 Adrian Danis <Adrian.Danis@data61.csiro.au>

riscv: Remove dead definitions


# 648d5a8e 02-Apr-2018 Adrian Danis <Adrian.Danis@data61.csiro.au>

riscv: Document spike memory map limitations


# 6af207a0 21-Feb-2018 Hesham Almatary <hesham.almatary@unsw.edu.au>

RISC-V: Port FDT from riscv-pk (priv-1.10)


# 080c0b4a 02-Apr-2018 Adrian Danis <Adrian.Danis@data61.csiro.au>

riscv: Remove race in setting timeout

This platform *only* runs on a simulator and so no guarantee can be made in running
fast enough to set the timeout before too much time passes.


# aafa5942 27-Mar-2018 Adrian Danis <Adrian.Danis@data61.csiro.au>

RISCV: Place TODOs in the source


# 83ba0847 20-Feb-2018 Hesham Almatary <hesham.almatary@unsw.edu.au>

[SELFOUR-1156] RISC-V Port

Experimental release that supports both RV32 and RV64