fix: fix stored typo

This commit is contained in:
jmxl 2021-05-21 10:16:04 +08:00 committed by Gitee
parent 9b364500ad
commit d25560f8ac
1 changed files with 4 additions and 4 deletions

View File

@ -91,25 +91,25 @@ extern VOID PrintExcInfo(const CHAR *fmt, ...);
/**
* @ingroup los_base
* Read a UINT8 value from addr and stroed in value.
* Read a UINT8 value from addr and stored in value.
*/
#define READ_UINT8(value, addr) ({ (value) = *((volatile UINT8 *)((UINTPTR)(addr))); DSB; })
/**
* @ingroup los_base
* Read a UINT16 value from addr and stroed in addr.
* Read a UINT16 value from addr and stored in addr.
*/
#define READ_UINT16(value, addr) ({ (value) = *((volatile UINT16 *)((UINTPTR)(addr))); DSB; })
/**
* @ingroup los_base
* Read a UINT32 value from addr and stroed in value.
* Read a UINT32 value from addr and stored in value.
*/
#define READ_UINT32(value, addr) ({ (value) = *((volatile UINT32 *)((UINTPTR)(addr))); DSB; })
/**
* @ingroup los_base
* Read a UINT64 value from addr and stroed in value.
* Read a UINT64 value from addr and stored in value.
*/
#define READ_UINT64(value, addr) ({ (value) = *((volatile UINT64 *)((UINTPTR)(addr))); DSB; })