提交 042f06e2 编写于 作者: O openharmony_ci 提交者: Gitee

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

Merge pull request !260 from jmxl/N/A
...@@ -91,25 +91,25 @@ extern VOID PrintExcInfo(const CHAR *fmt, ...); ...@@ -91,25 +91,25 @@ extern VOID PrintExcInfo(const CHAR *fmt, ...);
/** /**
* @ingroup los_base * @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; }) #define READ_UINT8(value, addr) ({ (value) = *((volatile UINT8 *)((UINTPTR)(addr))); DSB; })
/** /**
* @ingroup los_base * @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; }) #define READ_UINT16(value, addr) ({ (value) = *((volatile UINT16 *)((UINTPTR)(addr))); DSB; })
/** /**
* @ingroup los_base * @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; }) #define READ_UINT32(value, addr) ({ (value) = *((volatile UINT32 *)((UINTPTR)(addr))); DSB; })
/** /**
* @ingroup los_base * @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; }) #define READ_UINT64(value, addr) ({ (value) = *((volatile UINT64 *)((UINTPTR)(addr))); DSB; })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册