Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

target/riscv: separate register cache stuff into files #1084

Merged
merged 1 commit into from
Jul 3, 2024

Commits on Jul 2, 2024

  1. target/riscv: separate register cache stuff into files

    This commit creates file structure for register cache related
    functions.
    Specifically:
    
    * `riscv_reg.h` -- general interface to registers. Safe to use after
      register cache initialization is successful.
    * `riscv_reg_impl.h` -- helper functions to use while implementing
      register cache initialization.
    * `riscv_reg.c` -- definitions of functions from `riscv_reg.h` and
      `riscv_reg_impl.h`.
    * `riscv-011_reg.h` -- register cache interface specific to 0.11
      targets.
    * `riscv-013_reg.h` -- register cache interface specific to 0.13+
      targets.
    * `riscv-011/0.13.h` -- version-specific methods used to access
      registers. Will be extended as needed once other functionality (not
      related to register access) is separated (e.g. DM/DTM specific stuff).
    
    Change-Id: I7918f78d0d79b97188c5703efd0296660e529f2a
    Signed-off-by: Evgeniy Naydanov <evgeniy.naydanov@syntacore.com>
    en-sc committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    3883b03 View commit details
    Browse the repository at this point in the history