aarch64_cpu/registers/
rvbar_el1.rs

1// SPDX-License-Identifier: Apache-2.0 OR MIT
2//
3// Copyright (c) 2018-2023 by the author(s)
4//
5// Author(s):
6//   - Matt Schulte <schultetwin1@gmail.com>
7
8//! Reset Vector Base Address Register - EL1
9//!
10//! If EL1 is the highest Exception level implemented, contains the
11//! IMPLEMENTATION DEFINED address that execution starts from after reset when
12//! executing in AArch64 state.
13
14use tock_registers::interfaces::Readable;
15
16pub struct Reg;
17
18impl Readable for Reg {
19    type T = u64;
20    type R = ();
21
22    sys_coproc_read_raw!(u64, "RVBAR_EL1", "x");
23}
24
25pub const RVBAR_EL1: Reg = Reg;