linux内核中的copy_to_user和copy_from_user(一)
时间:11-22
来源:互联网
点击:
- 24
- USER(ldrnetr7,[r1],#4)@Mayfault
- orrner3,r3,r7,push#8
- strner3,[r0],#4
- andsip,ip,#3
- beq.cfu_3fupi
- .cfu_3nowords:movr3,r7,get_byte_3
- teqip,#0
- beq.cfu_finished
- cmpip,#2
- strbr3,[r0],#1
- USER(ldrgebtr3,[r1],#1)@Mayfault
- strgebr3,[r0],#1
- USER(ldrgtbtr3,[r1],#1)@Mayfault
- strgtbr3,[r0],#1
- b.cfu_finished
- .section.fixup,"ax"
- .align0
- /*
- *Wetookanexception.r0containsapointerto
- *thebytenotcopied.
- */
- 9001:ldrr2,[sp],#4@void*to
- subr2,r0,r2@bytescopied
- ldrr1,[sp],#4@unsignedlongcount
- subsr4,r1,r2@byteslefttocopy
- movner1,r4
- blne__memzero
- movr0,r4
- LOADREGS(fd,sp!,{r4-r7,pc})
- .previous
linux内核中copy_to_usercopy_from_use 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)