commit | 2068cea1731c7ec22a37acc0942357bf3b389001 | [log] [tgz] |
---|---|---|
author | Joe Hershberger <joe.hershberger@ni.com> | Mon May 11 13:53:13 2015 -0500 |
committer | Tom Rini <trini@konsulko.com> | Thu May 14 07:03:15 2015 -0400 |
tree | 8908ad04476891bbbe948aaa99cf727c22a01518 | |
parent | 9597494ebfb60418e8a0e7565cca2b7d25512bf5 [diff] |
Use map_sysmem when accessing memory in setexpr The setexpr command used to segfault when accessing memory in sandbox. The pointer accesses should be mapped. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>