[riot-commits] [RIOT-OS/RIOT] b70a4b: riscv: Simplify reset trampoline

Koen Zandberg noreply at github.com
Wed Sep 22 12:41:25 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: b70a4b7694d220181afa9d784638aae3bb296b20
      https://github.com/RIOT-OS/RIOT/commit/b70a4b7694d220181afa9d784638aae3bb296b20
  Author: Joakim Nohlgård <jnohlgard at spotify.com>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M cpu/riscv_common/start.S

  Log Message:
  -----------
  riscv: Simplify reset trampoline

By loading the absolute address of _start_real we can unconditionally
jump to it regardless if the PC is somewhere at 0x0 or at ROM_START_ADDR


  Commit: 6cdd54e4259b16494fe2fa72afdc3e2ddfd981ee
      https://github.com/RIOT-OS/RIOT/commit/6cdd54e4259b16494fe2fa72afdc3e2ddfd981ee
  Author: Koen Zandberg <koen at bergzand.net>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M cpu/riscv_common/start.S

  Log Message:
  -----------
  Merge pull request #16876 from jnohlgard/riscv-startup-absolute-fix

riscv: Simplify reset trampoline


Compare: https://github.com/RIOT-OS/RIOT/compare/0b7eb2bbc9a5...6cdd54e4259b


More information about the commits mailing list