Convert to unified syntax

This commit is contained in:
matt 2013-08-12 16:02:50 +00:00
parent 43137dd04c
commit bc7f522d59
3 changed files with 22 additions and 22 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus_asm.S,v 1.5 2006/10/04 20:14:44 bjh21 Exp $ */
/* $NetBSD: bus_asm.S,v 1.6 2013/08/12 16:02:50 matt Exp $ */
/*
* Copyright (c) 2006 Ben Harris
@ -59,7 +59,7 @@
*/
#include <machine/asm.h>
RCSID("$NetBSD: bus_asm.S,v 1.5 2006/10/04 20:14:44 bjh21 Exp $")
RCSID("$NetBSD: bus_asm.S,v 1.6 2013/08/12 16:02:50 matt Exp $")
/*
* bus_space I/O functions for podulebus
@ -109,7 +109,7 @@ ENTRY(iobus_bs_rm_1)
/* Make sure that we have a positive length */
cmp r2, #0x00000000
ldmledb fp, {fp, sp, pc}
ldmdble fp, {fp, sp, pc}
1:
ldrb r1, [r0]
@ -128,7 +128,7 @@ ENTRY(iobus_bs_rm_2)
/* Make sure that we have a positive length */
cmp r2, #0x00000000
ldmledb fp, {fp, sp, pc}
ldmdble fp, {fp, sp, pc}
1:
ldr r1, [r0]
@ -153,7 +153,7 @@ ENTRY(iobus_bs_wm_1)
/* Make sure that we have a positive length */
cmp r2, #0x00000000
ldmledb fp, {fp, sp, pc}
ldmdble fp, {fp, sp, pc}
1:
ldrb r1, [r3], #0x0001
@ -172,7 +172,7 @@ ENTRY(iobus_bs_wm_2)
/* Make sure that we have a positive length */
cmp r2, #0x00000000
ldmledb fp, {fp, sp, pc}
ldmdble fp, {fp, sp, pc}
1:
ldrb r1, [r3], #0x0001
@ -200,7 +200,7 @@ ENTRY(iobus_bs_rr_1)
/* Make sure that we have a positive length */
cmp r2, #0x00000000
ldmledb fp, {fp, sp, pc}
ldmdble fp, {fp, sp, pc}
1:
ldrb r1, [r12], r0
@ -249,7 +249,7 @@ ENTRY(iobus_bs_rr_2)
bgt 1b
2: teq r10, #0
ldmeqdb fp, {r4-r10, fp, sp, pc}
ldmdbeq fp, {r4-r10, fp, sp, pc}
/*
* Fast read_region_2 code. This is at its best when dealing with
@ -272,7 +272,7 @@ ENTRY(iobus_bs_rr_2)
stmia r9!, {r0, r2, r4, r6}
bgt 2b
adds r7, r10, #7
ldmeqdb fp, {r4-r10, fp, sp, pc}
ldmdbeq fp, {r4-r10, fp, sp, pc}
mov r0, #4
mov r10, #0
b 1b
@ -292,7 +292,7 @@ ENTRY(iobus_bs_wr_1)
/* Make sure that we have a positive length */
cmp r2, #0x00000000
ldmledb fp, {fp, sp, pc}
ldmdble fp, {fp, sp, pc}
1:
ldrb r1, [r3], #0x0001
@ -335,7 +335,7 @@ ENTRY(iobus_bs_wr_2)
bgt 1b
2: teq r10, #0
ldmeqdb fp, {r4-r10, fp, sp, pc}
ldmdbeq fp, {r4-r10, fp, sp, pc}
/*
* Fast write_region_2 code. This is at its best when dealing with
@ -366,7 +366,7 @@ ENTRY(iobus_bs_wr_2)
stmia r8!, {r0-r7}
bgt 2b
adds r7, r10, #7
ldmeqdb fp, {r4-r10, fp, sp, pc}
ldmdbeq fp, {r4-r10, fp, sp, pc}
mov r0, #4
mov r10, #0
b 1b
@ -384,7 +384,7 @@ ENTRY(iobus_bs_sm_1)
/* Make sure that we have a positive length */
cmp r2, #0x00000000
ldmledb fp, {fp, sp, pc}
ldmdble fp, {fp, sp, pc}
1:
strb r3, [r0]
@ -402,7 +402,7 @@ ENTRY(iobus_bs_sm_2)
/* Make sure that we have a positive length */
cmp r2, #0x00000000
ldmledb fp, {fp, sp, pc}
ldmdble fp, {fp, sp, pc}
orr r3, r3, r3, lsl #16
1:
@ -427,7 +427,7 @@ ENTRY(iobus_bs_sr_1)
/* Make sure that we have a positive length */
cmp r2, #0x00000000
ldmledb fp, {fp, sp, pc}
ldmdble fp, {fp, sp, pc}
1:
strb r3, [r12], r0
@ -447,7 +447,7 @@ ENTRY(iobus_bs_sr_2)
/* Make sure that we have a positive length */
cmp r2, #0x00000000
ldmledb fp, {fp, sp, pc}
ldmdble fp, {fp, sp, pc}
orr r3, r3, r3, lsl #16
1:

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.S,v 1.22 2009/12/10 05:10:00 rmind Exp $ */
/* $NetBSD: locore.S,v 1.23 2013/08/12 16:02:50 matt Exp $ */
/*
* Copyright (c) 1998, 1999, 2000 Ben Harris
* Copyright (C) 1994-1997 Mark Brinicombe
@ -353,7 +353,7 @@ ENTRY_NP(int_off_save)
/* LINTSTUB: Func: void int_restore(int i) */
ENTRY_NP(int_restore)
tst r0, #(R15_IRQ_DISABLE) /* Were IRQs already disabled? */
biceqs r15, r14, #(R15_IRQ_DISABLE) /* No, enable again */
bicseq r15, r14, #(R15_IRQ_DISABLE) /* No, enable again */
movs r15, r14 /* Yes, just return */
/* LINTSTUB: Func: void fiq_off(void) */
ENTRY(fiq_off)
@ -452,4 +452,4 @@ ENTRY(cpu_Debugger)
ldmfd r13!, {pc}
#endif
RCSID("$NetBSD: locore.S,v 1.22 2009/12/10 05:10:00 rmind Exp $")
RCSID("$NetBSD: locore.S,v 1.23 2013/08/12 16:02:50 matt Exp $")

View File

@ -1,4 +1,4 @@
/* $NetBSD: iomd_fiq.S,v 1.2 2001/12/20 01:20:23 thorpej Exp $ */
/* $NetBSD: iomd_fiq.S,v 1.3 2013/08/12 16:07:03 matt Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -69,7 +69,7 @@ ENTRY_NP(floppy_read_fiq)
ldrb r8, [r12]
strb r8, [r11], #0x0001
#ifndef NOFDFIQLOOPS
subeqs pc, lr, #0x00000004
subseq pc, lr, #0x00000004
ldrb r8, [r9]
tst r8, #0x01
addne r13, r13, #0x00000001
@ -99,7 +99,7 @@ ENTRY_NP(floppy_write_fiq)
ldrb r8, [r11], #0x0001
strb r8, [r12]
#ifndef NOFDFIQLOOPS
subeqs pc, lr, #0x00000004
subseq pc, lr, #0x00000004
ldrb r8, [r9]
tst r8, #0x01
addne r13, r13, #0x00000001