// SPDX-License-Identifier: Apache-2.0 OR MIT
//
// Copyright (c) 2018-2023 by the author(s)
//
// Author(s):
// - Matt Schulte <schultetwin1@gmail.com>
//! Reset Vector Base Address Register - EL1
//!
//! If EL1 is the highest Exception level implemented, contains the
//! IMPLEMENTATION DEFINED address that execution starts from after reset when
//! executing in AArch64 state.
use tock_registers::interfaces::Readable;
pub struct Reg;
impl Readable for Reg {
type T = u64;
type R = ();
sys_coproc_read_raw!(u64, "RVBAR_EL1", "x");
}
pub const RVBAR_EL1: Reg = Reg;