Module Name: src
Committed By: isaki
Date: Thu Oct 31 07:30:28 UTC 2024
Modified Files:
src/sys/arch/m68k/m68k: compat_16_sigreturn14.s switch_subr.s
trap_subr.s
Log Message:
Fix indent.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/m68k/m68k/compat_16_sigreturn14.s
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/m68k/m68k/switch_subr.s
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/m68k/m68k/trap_subr.s
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/m68k/m68k/compat_16_sigreturn14.s
diff -u src/sys/arch/m68k/m68k/compat_16_sigreturn14.s:1.6 src/sys/arch/m68k/m68k/compat_16_sigreturn14.s:1.7
--- src/sys/arch/m68k/m68k/compat_16_sigreturn14.s:1.6 Wed Jan 17 12:19:06 2024
+++ src/sys/arch/m68k/m68k/compat_16_sigreturn14.s Thu Oct 31 07:30:28 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_16_sigreturn14.s,v 1.6 2024/01/17 12:19:06 thorpej Exp $ */
+/* $NetBSD: compat_16_sigreturn14.s,v 1.7 2024/10/31 07:30:28 isaki Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -64,7 +64,7 @@ ENTRY_NOPROFILE(m68k_compat_16_sigreturn
movl FR_SP(%sp),%a0 | grab and restore
movl %a0,%usp | user SP
lea FR_HW(%sp),%a1 | pointer to HW frame
- movw FR_ADJ(%sp),%d0 | do we need to adjust the stack?
+ movw FR_ADJ(%sp),%d0 | do we need to adjust the stack?
jeq 2f | no, just continue
moveq #92,%d1 | total size
subw %d0,%d1 | - hole size = frame size
Index: src/sys/arch/m68k/m68k/switch_subr.s
diff -u src/sys/arch/m68k/m68k/switch_subr.s:1.37 src/sys/arch/m68k/m68k/switch_subr.s:1.38
--- src/sys/arch/m68k/m68k/switch_subr.s:1.37 Wed Jan 17 05:41:57 2024
+++ src/sys/arch/m68k/m68k/switch_subr.s Thu Oct 31 07:30:28 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: switch_subr.s,v 1.37 2024/01/17 05:41:57 thorpej Exp $ */
+/* $NetBSD: switch_subr.s,v 1.38 2024/10/31 07:30:28 isaki Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation.
@@ -270,7 +270,7 @@ ENTRY(m68k_make_fpu_idle_frame)
clrl -(%sp)
fnop
- frestore (%sp) | Effectively `resets' the FPU
+ frestore (%sp) | Effectively `resets' the FPU
fnop
/* Loading '0.0' will change FPU to "idle". */
Index: src/sys/arch/m68k/m68k/trap_subr.s
diff -u src/sys/arch/m68k/m68k/trap_subr.s:1.16 src/sys/arch/m68k/m68k/trap_subr.s:1.17
--- src/sys/arch/m68k/m68k/trap_subr.s:1.16 Tue Sep 26 12:46:30 2023
+++ src/sys/arch/m68k/m68k/trap_subr.s Thu Oct 31 07:30:28 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: trap_subr.s,v 1.16 2023/09/26 12:46:30 tsutsui Exp $ */
+/* $NetBSD: trap_subr.s,v 1.17 2024/10/31 07:30:28 isaki Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -57,7 +57,7 @@ ASENTRY_NOPROFILE(fault)
clrl -(%sp) | no VA arg
clrl -(%sp) | or code arg
movl %d0,-(%sp) | push trap type
- pea 12(%sp) | address of trap frame
+ pea 12(%sp) | address of trap frame
jbsr _C_LABEL(trap) | handle trap
lea 16(%sp),%sp | pop value args
movl FR_SP(%sp),%a0 | restore
@@ -70,14 +70,14 @@ ASENTRY_NOPROFILE(fault)
* Similar to above, but will tidy up the stack, if necessary.
*/
ASENTRY(faultstkadj)
- pea 12(%sp) | address of trap frame
+ pea 12(%sp) | address of trap frame
jbsr _C_LABEL(trap) | handle the error
lea 16(%sp),%sp | pop value args
/* for new 68060 Branch Prediction Error handler */
_ASM_LABEL(faultstkadjnotrap2):
movl FR_SP(%sp),%a0 | restore user SP
movl %a0,%usp | from save area
- movw FR_ADJ(%sp),%d0 | need to adjust stack?
+ movw FR_ADJ(%sp),%d0 | need to adjust stack?
jne 1f | yes, go to it
moveml (%sp)+,#0x7FFF | no, restore most user regs
addql #8,%sp | toss SSP and stkadj
@@ -168,7 +168,7 @@ ENTRY_NOPROFILE(coperr)
movl %a0,FR_SP(%sp) | the user stack pointer
clrl -(%sp) | no VA arg
clrl -(%sp) | or code arg
- movl #T_COPERR,-(%sp) | push trap type
+ movl #T_COPERR,-(%sp) | push trap type
jra _ASM_LABEL(faultstkadj) | call trap and deal with stack
| adjustments
@@ -179,6 +179,6 @@ ENTRY_NOPROFILE(fmterr)
movl %a0,FR_SP(%sp) | the user stack pointer
clrl -(%sp) | no VA arg
clrl -(%sp) | or code arg
- movl #T_FMTERR,-(%sp) | push trap type
+ movl #T_FMTERR,-(%sp) | push trap type
jra _ASM_LABEL(faultstkadj) | call trap and deal with stack
| adjustments