Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Consolidate mtime and mtimecmp implementation #2490

@alistair23

Description

@alistair23

Every RISC-V chip has it's own memory map of mtime and mtimecmp. This means that the logic to implement the timer is repeated in all chips.

Instead we should create a generic instance in the RISC-V arch that can be used to access these two register and use that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions