io-writesb.S (e5451c8f8330e03ad3cfa16048b4daf961af434f) io-writesb.S (4dd1837d7589f468ed109556513f476e7a7f9121)
1/*
2 * linux/arch/arm/lib/io-writesb.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-writesb.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 .macro outword, rd
14#ifndef __ARMEB__
15 strb \rd, [r0]
16 mov \rd, \rd, lsr #8
17 strb \rd, [r0]
18 mov \rd, \rd, lsr #8
19 strb \rd, [r0]

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

87 strb r3, [r0]
88 ldrgeb r3, [r1], #1
89 strgeb r3, [r0]
90 ldrgtb r3, [r1]
91 strgtb r3, [r0]
92
93 ldmfd sp!, {r4, r5, pc}
94ENDPROC(__raw_writesb)
13
14 .macro outword, rd
15#ifndef __ARMEB__
16 strb \rd, [r0]
17 mov \rd, \rd, lsr #8
18 strb \rd, [r0]
19 mov \rd, \rd, lsr #8
20 strb \rd, [r0]

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

88 strb r3, [r0]
89 ldrgeb r3, [r1], #1
90 strgeb r3, [r0]
91 ldrgtb r3, [r1]
92 strgtb r3, [r0]
93
94 ldmfd sp!, {r4, r5, pc}
95ENDPROC(__raw_writesb)
96EXPORT_SYMBOL(__raw_writesb)