risc-v: add putreg64 for mtimer registers.
Change-Id: I18fe312c95c73966f5c09fd18081b0c72923e2ac Signed-off-by: zhongan <zhongan@xiaomi.com>
This commit is contained in:
parent
89cfaf1e6a
commit
07dd053e86
@ -61,6 +61,7 @@
|
|||||||
# define putreg16(v,a) (*(volatile uint16_t *)(a) = (v))
|
# define putreg16(v,a) (*(volatile uint16_t *)(a) = (v))
|
||||||
# define getreg32(a) (*(volatile uint32_t *)(a))
|
# define getreg32(a) (*(volatile uint32_t *)(a))
|
||||||
# define putreg32(v,a) (*(volatile uint32_t *)(a) = (v))
|
# define putreg32(v,a) (*(volatile uint32_t *)(a) = (v))
|
||||||
|
# define putreg64(v,a) (*(volatile uint64_t *)(a) = (v))
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Function Prototypes
|
* Public Function Prototypes
|
||||||
|
Loading…
Reference in New Issue
Block a user