1 #include <asm/ppc_asm.h> 2 3 _GLOBAL(copy_tofrom_user_reference) 4 cmpdi r5,0 5 beq 4f 6 7 mtctr r5 8 9 1: lbz r6,0(r4) 10 2: stb r6,0(r3) 11 addi r3,r3,1 12 addi r4,r4,1 13 bdnz 1b 14 15 3: mfctr r3 16 blr 17 18 4: mr r3,r5 19 blr 20 21 .section __ex_table,"a" 22 .llong 1b,3b 23 .llong 2b,3b 24 .text
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.