!260 【轻量级 PR】:fix: fix stored typo

Merge pull request !260 from jmxl/N/A
This commit is contained in:
openharmony_ci 2021-06-04 13:54:53 +08:00 committed by Gitee
commit 042f06e2b1
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; })