summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorArpad Horvath <secracon@gmail.com>2014-02-14 16:42:27 -0800
committerJP Abgrall <jpa@google.com>2014-02-14 16:50:27 -0800
commit80b435a3f35795600654e9705f4b3fbbcc427a9d (patch)
tree4dd4f4f5cb43c520464070a8a3188691f652fab9 /base/errors_unix.cpp
parentd0307beeef57b9db06b82f1ffba746c5decb0b72 (diff)
sdcard: direct I/O file access fix
If a file is opened in direct I/O mode (with O_DIRECT flag), the read buffer addess must be aligned to memory page size boundary. The Direct I/O is not needed for normal files, however, some special hardware access (e.g. smart SD cards) will not work without it. Change-Id: I42babeee86dba1880fd23e2592fddd7060da3e20
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions