Commit 10a3cd2
committed
A much simpler implementation of linux's copy_from/to_user.
Windows allows page fault in kernel space and the device control runs in user
context. So let the OS handle the copy for us.1 parent d6e7913 commit 10a3cd2
1 file changed
Lines changed: 7 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
968 | | - | |
969 | 968 | | |
970 | 969 | | |
971 | | - | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | | - | |
976 | | - | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | 970 | | |
981 | 971 | | |
982 | 972 | | |
| |||
993 | 983 | | |
994 | 984 | | |
995 | 985 | | |
996 | | - | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
997 | 993 | | |
998 | 994 | | |
999 | 995 | | |
1000 | 996 | | |
1001 | 997 | | |
1002 | | - | |
1003 | | - | |
1004 | 998 | | |
1005 | 999 | | |
1006 | 1000 | | |
| |||
0 commit comments