libs: libc: lib_vikmemcpy.c: Mixed case identifier fix
fix Mixed case identifier reported by nxstyle Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
parent
ed8e5e971b
commit
d3313eeae9
|
@ -203,8 +203,8 @@
|
||||||
|
|
||||||
#define COPY_NO_SHIFT() \
|
#define COPY_NO_SHIFT() \
|
||||||
{ \
|
{ \
|
||||||
UIntN* dstN = (UIntN*)(dst8 PRE_LOOP_ADJUST); \
|
uintn* dstN = (uintn*)(dst8 PRE_LOOP_ADJUST); \
|
||||||
UIntN* srcN = (UIntN*)(src8 PRE_LOOP_ADJUST); \
|
uintn* srcN = (uintn*)(src8 PRE_LOOP_ADJUST); \
|
||||||
size_t length = count / TYPE_WIDTH; \
|
size_t length = count / TYPE_WIDTH; \
|
||||||
\
|
\
|
||||||
while (length & 7) \
|
while (length & 7) \
|
||||||
|
@ -240,13 +240,13 @@
|
||||||
|
|
||||||
#define COPY_SHIFT(shift) \
|
#define COPY_SHIFT(shift) \
|
||||||
{ \
|
{ \
|
||||||
UIntN* dstN = (UIntN*)((((uintptr_t)dst8) PRE_LOOP_ADJUST) & \
|
uintn* dstN = (uintn*)((((uintptr_t)dst8) PRE_LOOP_ADJUST) & \
|
||||||
~(TYPE_WIDTH - 1)); \
|
~(TYPE_WIDTH - 1)); \
|
||||||
UIntN* srcN = (UIntN*)((((uintptr_t)src8) PRE_LOOP_ADJUST) & \
|
uintn* srcN = (uintn*)((((uintptr_t)src8) PRE_LOOP_ADJUST) & \
|
||||||
~(TYPE_WIDTH - 1)); \
|
~(TYPE_WIDTH - 1)); \
|
||||||
size_t length = count / TYPE_WIDTH; \
|
size_t length = count / TYPE_WIDTH; \
|
||||||
UIntN srcWord = INC_VAL(srcN); \
|
uintn srcWord = INC_VAL(srcN); \
|
||||||
UIntN dstWord; \
|
uintn dstWord; \
|
||||||
\
|
\
|
||||||
while (length & 7) \
|
while (length & 7) \
|
||||||
{ \
|
{ \
|
||||||
|
@ -284,10 +284,10 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_MEMCPY_64BIT
|
#ifdef CONFIG_MEMCPY_64BIT
|
||||||
typedef uint64_t UIntN;
|
typedef uint64_t uintn;
|
||||||
# define TYPE_WIDTH 8L
|
# define TYPE_WIDTH 8L
|
||||||
#else
|
#else
|
||||||
typedef uint32_t UIntN;
|
typedef uint32_t uintn;
|
||||||
# define TYPE_WIDTH 4L
|
# define TYPE_WIDTH 4L
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue