diff options
| author | GUI <[email protected]> | 2022-03-29 11:08:25 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-03-29 11:08:25 +0800 |
| commit | f587a55bc2006f4316383425d518b734e42bb4a2 (patch) | |
| tree | 155cc0f274c4cb79d2ed8761e25532abbcabfad2 /include | |
| parent | d23493d05db47bcf066894dd1e1cb43b77a76d54 (diff) | |
[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
Diffstat (limited to 'include')
| -rw-r--r-- | include/rthw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rthw.h b/include/rthw.h index 5672a8f992..bf497b4c3f 100644 --- a/include/rthw.h +++ b/include/rthw.h @@ -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 |
