qemu_rv32_virt_chip/
clint.rs

1// Licensed under the Apache License, Version 2.0 or the MIT License.
2// SPDX-License-Identifier: Apache-2.0 OR MIT
3// Copyright Tock Contributors 2022.
4
5//! Machine Timer instantiation.
6
7use kernel::utilities::StaticRef;
8use sifive::clint::ClintRegisters;
9
10pub const CLINT_BASE: StaticRef<ClintRegisters> =
11    unsafe { StaticRef::new(0x0200_0000 as *const ClintRegisters) };