risc-v: add putreg64 for mtimer registers.

Change-Id: I18fe312c95c73966f5c09fd18081b0c72923e2ac
Signed-off-by: zhongan <zhongan@xiaomi.com>
This commit is contained in:
zhongan 2020-07-22 14:43:34 +08:00 committed by Abdelatif Guettouche
parent 89cfaf1e6a
commit 07dd053e86
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@
# define putreg16(v,a) (*(volatile uint16_t *)(a) = (v))
# define getreg32(a) (*(volatile uint32_t *)(a))
# define putreg32(v,a) (*(volatile uint32_t *)(a) = (v))
# define putreg64(v,a) (*(volatile uint64_t *)(a) = (v))
/****************************************************************************
* Public Function Prototypes