Commit 20305e59 authored by Hidetoshi Seto's avatar Hidetoshi Seto Committed by Tony Luck

[IA64] mca_drv cleanup

There were some trailing white spaces, long lines, brackets in
weird style etc.  This patch cleans them up.
Signed-off-by: default avatarHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 8ee9e23d
This diff is collapsed.
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Copyright (C) Hidetoshi Seto (seto.hidetoshi@jp.fujitsu.com) * Copyright (C) Hidetoshi Seto (seto.hidetoshi@jp.fujitsu.com)
*/ */
/* /*
* Processor error section: * Processor error section:
* *
* +-sal_log_processor_info_t *info-------------+ * +-sal_log_processor_info_t *info-------------+
* | sal_log_section_hdr_t header; | * | sal_log_section_hdr_t header; |
......
...@@ -13,45 +13,45 @@ ...@@ -13,45 +13,45 @@
#include <asm/ptrace.h> #include <asm/ptrace.h>
GLOBAL_ENTRY(mca_handler_bhhook) GLOBAL_ENTRY(mca_handler_bhhook)
invala // clear RSE ? invala // clear RSE ?
;; // ;;
cover // cover
;; // ;;
clrrrb // clrrrb
;; ;;
alloc r16=ar.pfs,0,2,1,0 // make a new frame alloc r16=ar.pfs,0,2,1,0 // make a new frame
;; ;;
mov ar.rsc=0 mov ar.rsc=0
;; ;;
mov r13=IA64_KR(CURRENT) // current task pointer mov r13=IA64_KR(CURRENT) // current task pointer
;; ;;
mov r2=r13 mov r2=r13
;; ;;
addl r22=IA64_RBS_OFFSET,r2 addl r22=IA64_RBS_OFFSET,r2
;; ;;
mov ar.bspstore=r22 mov ar.bspstore=r22
;; ;;
addl sp=IA64_STK_OFFSET-IA64_PT_REGS_SIZE,r2 addl sp=IA64_STK_OFFSET-IA64_PT_REGS_SIZE,r2
;; ;;
adds r2=IA64_TASK_THREAD_ON_USTACK_OFFSET,r13 adds r2=IA64_TASK_THREAD_ON_USTACK_OFFSET,r13
;; ;;
st1 [r2]=r0 // clear current->thread.on_ustack flag st1 [r2]=r0 // clear current->thread.on_ustack flag
mov loc0=r16 mov loc0=r16
movl loc1=mca_handler_bh // recovery C function movl loc1=mca_handler_bh // recovery C function
;; ;;
mov out0=r8 // poisoned address mov out0=r8 // poisoned address
mov b6=loc1 mov b6=loc1
;; ;;
mov loc1=rp mov loc1=rp
;; ;;
ssm psr.i ssm psr.i
;; ;;
br.call.sptk.many rp=b6 // does not return ... br.call.sptk.many rp=b6 // does not return ...
;; ;;
mov ar.pfs=loc0 mov ar.pfs=loc0
mov rp=loc1 mov rp=loc1
;; ;;
mov r8=r0 mov r8=r0
br.ret.sptk.many rp br.ret.sptk.many rp
;; ;;
END(mca_handler_bhhook) END(mca_handler_bhhook)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment