patch-2.4.14 linux/arch/arm/lib/io-acorn.S
Next file: linux/arch/arm/mach-epxa10db/Makefile
Previous file: linux/arch/arm/lib/backtrace.S
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Thu Oct 25 13:53:45 2001
- Orig file:
v2.4.13/linux/arch/arm/lib/io-acorn.S
- Orig date:
Mon Aug 27 12:41:38 2001
diff -u --recursive --new-file v2.4.13/linux/arch/arm/lib/io-acorn.S linux/arch/arm/lib/io-acorn.S
@@ -54,39 +54,6 @@
mov r1, lr
b SYMBOL_NAME(printk)
-/* Purpose: read a block of data from a hardware register to memory.
- * Proto : void insw(int from_port, void *to, int len_in_words);
- * Notes : increment to, 'to' must be 16-bit aligned
- */
-
-ENTRY(insw)
- addr r0
- teq r2, #0
- bne __raw_readsw
- RETINSTR(mov, pc, lr)
-
-ENTRY(insb)
- addr r0
- teq r2, #0
- bne __raw_readsb
- RETINSTR(mov, pc, lr)
-
-@ Purpose: write a block of data from memory to a hardware register.
-@ Proto : outsw(int to_reg, void *from, int len_in_words);
-@ Notes : increments from
-
-ENTRY(outsw)
- addr r0
- teq r2, #0
- bne __raw_writesw
- RETINSTR(mov, pc, lr)
-
-ENTRY(outsb)
- addr r0
- teq r2, #0
- bne __raw_writesb
- RETINSTR(mov, pc, lr)
-
@ Purpose: write a memc register
@ Proto : void memc_write(int register, int value);
@ Returns: nothing
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)