mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
arch: Fix minor style issue
not real behaviour change Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Mateusz Szafoni
parent
992c8dded5
commit
69100ef0e4
@@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
void arm_sigdeliver(void)
|
void arm_sigdeliver(void)
|
||||||
{
|
{
|
||||||
struct tcb_s *rtcb = this_task();
|
struct tcb_s *rtcb = this_task();
|
||||||
uint32_t *regs = rtcb->xcp.saved_regs;
|
uint32_t *regs = rtcb->xcp.saved_regs;
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
void arm_sigdeliver(void)
|
void arm_sigdeliver(void)
|
||||||
{
|
{
|
||||||
struct tcb_s *rtcb = this_task();
|
struct tcb_s *rtcb = this_task();
|
||||||
uint32_t *regs = rtcb->xcp.saved_regs;
|
uint32_t *regs = rtcb->xcp.saved_regs;
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
void arm_sigdeliver(void)
|
void arm_sigdeliver(void)
|
||||||
{
|
{
|
||||||
struct tcb_s *rtcb = this_task();
|
struct tcb_s *rtcb = this_task();
|
||||||
uint32_t *regs = rtcb->xcp.saved_regs;
|
uint32_t *regs = rtcb->xcp.saved_regs;
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
|
|
||||||
void arm64_sigdeliver(void)
|
void arm64_sigdeliver(void)
|
||||||
{
|
{
|
||||||
struct tcb_s *rtcb = this_task();
|
struct tcb_s *rtcb = this_task();
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
/* In the SMP case, we must terminate the critical section while the signal
|
/* In the SMP case, we must terminate the critical section while the signal
|
||||||
|
|||||||
@@ -236,10 +236,10 @@ SECTION_FUNC(text, arm64_irq_handler)
|
|||||||
|
|
||||||
GTEXT(arm64_serror_handler)
|
GTEXT(arm64_serror_handler)
|
||||||
SECTION_FUNC(text, arm64_serror_handler)
|
SECTION_FUNC(text, arm64_serror_handler)
|
||||||
mov x0, sp
|
mov x0, sp
|
||||||
adrp x5, arm64_fatal_handler
|
adrp x5, arm64_fatal_handler
|
||||||
add x5, x5, #:lo12:arm64_fatal_handler
|
add x5, x5, #:lo12:arm64_fatal_handler
|
||||||
br x5
|
br x5
|
||||||
/* Return here only in case of recoverable error */
|
/* Return here only in case of recoverable error */
|
||||||
|
|
||||||
b arm64_exit_exception
|
b arm64_exit_exception
|
||||||
@@ -255,8 +255,8 @@ SECTION_FUNC(text, arm64_serror_handler)
|
|||||||
GTEXT(arm64_mode32_handler)
|
GTEXT(arm64_mode32_handler)
|
||||||
SECTION_FUNC(text, arm64_mode32_handler)
|
SECTION_FUNC(text, arm64_mode32_handler)
|
||||||
mov x0, sp
|
mov x0, sp
|
||||||
adrp x5, arm64_fatal_handler
|
adrp x5, arm64_fatal_handler
|
||||||
add x5, x5, #:lo12:arm64_fatal_handler
|
add x5, x5, #:lo12:arm64_fatal_handler
|
||||||
br x5
|
br x5
|
||||||
/* Return here only in case of recoverable error */
|
/* Return here only in case of recoverable error */
|
||||||
|
|
||||||
@@ -275,8 +275,8 @@ SECTION_FUNC(text, arm64_fiq_handler)
|
|||||||
#ifndef CONFIG_ARM64_DECODEFIQ
|
#ifndef CONFIG_ARM64_DECODEFIQ
|
||||||
|
|
||||||
mov x0, sp
|
mov x0, sp
|
||||||
adrp x5, arm64_fatal_handler
|
adrp x5, arm64_fatal_handler
|
||||||
add x5, x5, #:lo12:arm64_fatal_handler
|
add x5, x5, #:lo12:arm64_fatal_handler
|
||||||
br x5
|
br x5
|
||||||
|
|
||||||
/* Return here only in case of recoverable error */
|
/* Return here only in case of recoverable error */
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
void ceva_sigdeliver(void)
|
void ceva_sigdeliver(void)
|
||||||
{
|
{
|
||||||
struct tcb_s *rtcb = this_task();
|
struct tcb_s *rtcb = this_task();
|
||||||
uint32_t *regs = rtcb->xcp.saved_regs;
|
uint32_t *regs = rtcb->xcp.saved_regs;
|
||||||
sig_deliver_t sigdeliver;
|
sig_deliver_t sigdeliver;
|
||||||
|
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
void renesas_sigdeliver(void)
|
void renesas_sigdeliver(void)
|
||||||
{
|
{
|
||||||
struct tcb_s *rtcb = this_task();
|
struct tcb_s *rtcb = this_task();
|
||||||
uint32_t regs[XCPTCONTEXT_REGS];
|
uint32_t regs[XCPTCONTEXT_REGS];
|
||||||
|
|
||||||
board_autoled_on(LED_SIGNAL);
|
board_autoled_on(LED_SIGNAL);
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
void z80_sigdeliver(void)
|
void z80_sigdeliver(void)
|
||||||
{
|
{
|
||||||
FAR struct tcb_s *rtcb = this_task();
|
FAR struct tcb_s *rtcb = this_task();
|
||||||
chipreg_t regs[XCPTCONTEXT_REGS];
|
chipreg_t regs[XCPTCONTEXT_REGS];
|
||||||
|
|
||||||
board_autoled_on(LED_SIGNAL);
|
board_autoled_on(LED_SIGNAL);
|
||||||
|
|||||||
Reference in New Issue
Block a user