io-readsb.S (e5451c8f8330e03ad3cfa16048b4daf961af434f) io-readsb.S (4dd1837d7589f468ed109556513f476e7a7f9121)
1/*
2 * linux/arch/arm/lib/io-readsb.S
3 *
4 * Copyright (C) 1995-2000 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10#include <linux/linkage.h>
11#include <asm/assembler.h>
1/*
2 * linux/arch/arm/lib/io-readsb.S
3 *
4 * Copyright (C) 1995-2000 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10#include <linux/linkage.h>
11#include <asm/assembler.h>
12#include <asm/export.h>
12
13.Linsb_align: rsb ip, ip, #4
14 cmp ip, r2
15 movgt ip, r2
16 cmp ip, #2
17 ldrb r3, [r0]
18 strb r3, [r1], #1
19 ldrgeb r3, [r0]

--- 96 unchanged lines hidden (view full) ---

116 strb r3, [r1], #1
117 ldrgeb r3, [r0]
118 strgeb r3, [r1], #1
119 ldrgtb r3, [r0]
120 strgtb r3, [r1]
121
122 ldmfd sp!, {r4 - r6, pc}
123ENDPROC(__raw_readsb)
13
14.Linsb_align: rsb ip, ip, #4
15 cmp ip, r2
16 movgt ip, r2
17 cmp ip, #2
18 ldrb r3, [r0]
19 strb r3, [r1], #1
20 ldrgeb r3, [r0]

--- 96 unchanged lines hidden (view full) ---

117 strb r3, [r1], #1
118 ldrgeb r3, [r0]
119 strgeb r3, [r1], #1
120 ldrgtb r3, [r0]
121 strgtb r3, [r1]
122
123 ldmfd sp!, {r4 - r6, pc}
124ENDPROC(__raw_readsb)
125EXPORT_SYMBOL(__raw_readsb)