v2.0.0
cpu_regs.h
1/*
2 * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
15#ifndef _PICO_PLATFORM_CPU_REGS_H
16#define _PICO_PLATFORM_CPU_REGS_H
17
18#if defined(__riscv)
19#include "hardware/hazard3.h"
20#else
21#include "hardware/regs/m33.h"
22#define ARM_CPU_PREFIXED(x) M33_ ## x
23#ifndef __ASSEMBLER__
24#include "hardware/structs/m33.h"
25#define arm_cpu_hw m33_hw
26#include "hardware/structs/nvic.h"
27#include "hardware/structs/scb.h"
28#endif
29#endif
30#endif
hazard3.h