From 2ffb72917d6689c0b5e728971034b342dd5231f2 Mon Sep 17 00:00:00 2001 From: ThomasNS Date: Tue, 3 Oct 2023 14:20:11 +0200 Subject: [PATCH] =?UTF-8?q?The=20character=20U+ff0c=20"=EF=BC=8C"=20could?= =?UTF-8?q?=20be=20confused=20with=20the=20ASCII=20character=20U+002c=20",?= =?UTF-8?q?",=20which=20is=20more=20common=20in=20source=20code.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arch/arm/src/armv6-m/arm_saveusercontext.S | 2 +- arch/arm/src/armv7-m/arm_saveusercontext.S | 2 +- arch/arm/src/armv8-m/arm_saveusercontext.S | 2 +- arch/sparc/src/bm3823/bm3823_head.S | 2 +- include/langinfo.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/src/armv6-m/arm_saveusercontext.S b/arch/arm/src/armv6-m/arm_saveusercontext.S index 510d0450b8..6341b3059c 100644 --- a/arch/arm/src/armv6-m/arm_saveusercontext.S +++ b/arch/arm/src/armv6-m/arm_saveusercontext.S @@ -63,7 +63,7 @@ up_saveusercontext: str r2, [r0, #(4*REG_R2)] str r3, [r0, #(4*REG_R3)] - /* Save r12,r14, pc */ + /* Save r12, r14, pc */ mov r1, r12 mov r2, r14 diff --git a/arch/arm/src/armv7-m/arm_saveusercontext.S b/arch/arm/src/armv7-m/arm_saveusercontext.S index 937104a269..58d02f575f 100644 --- a/arch/arm/src/armv7-m/arm_saveusercontext.S +++ b/arch/arm/src/armv7-m/arm_saveusercontext.S @@ -56,7 +56,7 @@ up_saveusercontext: - /* Save r0~r3, r12,r14, pc */ + /* Save r0~r3, r12, r14, pc */ str r0, [r0, #(4*REG_R0)] str r1, [r0, #(4*REG_R1)] diff --git a/arch/arm/src/armv8-m/arm_saveusercontext.S b/arch/arm/src/armv8-m/arm_saveusercontext.S index b564ebe66e..ff8897ee31 100644 --- a/arch/arm/src/armv8-m/arm_saveusercontext.S +++ b/arch/arm/src/armv8-m/arm_saveusercontext.S @@ -56,7 +56,7 @@ up_saveusercontext: - /* Save r0~r3, r12,r14, pc */ + /* Save r0~r3, r12, r14, pc */ str r0, [r0, #(4*REG_R0)] str r1, [r0, #(4*REG_R1)] diff --git a/arch/sparc/src/bm3823/bm3823_head.S b/arch/sparc/src/bm3823/bm3823_head.S index d947a43361..eafc39c69d 100644 --- a/arch/sparc/src/bm3823/bm3823_head.S +++ b/arch/sparc/src/bm3823/bm3823_head.S @@ -325,7 +325,7 @@ __start: set EXTER_REG,%g1 ld [%g1+4], %g2 - or %g2, 0x4f, %g2 /*将存储器配置为读改写(区别于写选通),等待后期设置为最大*/ + or %g2, 0x4f, %g2 /*将存储器配置为读改写(区别于写选通), 等待后期设置为最大*/ st %g2, [%g1+4] nop diff --git a/include/langinfo.h b/include/langinfo.h index 9a7cad778d..32edd88b80 100644 --- a/include/langinfo.h +++ b/include/langinfo.h @@ -33,7 +33,7 @@ ****************************************************************************/ #define NL_ITEM(cat, index) (((cat) << 16) | (index)) -#define NL_LOCALE_NAME(cat) NL_ITEM((cat), (0xffff)) +#define NL_LOCALE_NAME(cat) NL_ITEM((cat), (0xffff)) #define CODESET NL_ITEM(LC_CTYPE, 0x0e)