!260 【轻量级 PR】:fix: fix stored typo
Merge pull request !260 from jmxl/N/A
This commit is contained in:
commit
042f06e2b1
|
@ -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; })
|
||||
|
||||
|
|
Loading…
Reference in New Issue