mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-11-16 12:34:33 +00:00
[libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568 (#5722)
* [libcpu/aarch64] add smp support * [libcpu/aarch64] rt_hw_trap_irq get irq instead of iar when using gicv2 * [libcpu/aarch64] disable irq/fiq when switch thread * [libcpu/aarch64] add gtimer frq set and stack align * [libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568
This commit is contained in:
@@ -26,6 +26,9 @@ extern "C" {
|
||||
/*
|
||||
* Some macros define
|
||||
*/
|
||||
#ifndef HWREG64
|
||||
#define HWREG64(x) (*((volatile rt_uint64_t *)(x)))
|
||||
#endif
|
||||
#ifndef HWREG32
|
||||
#define HWREG32(x) (*((volatile rt_uint32_t *)(x)))
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user