summaryrefslogtreecommitdiff
path: root/src/arch/riscv
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-09-17 11:24:08 -0500
committerAaron Durbin <adurbin@chromium.org>2015-09-22 21:21:56 +0000
commitf66a026d70961832164ca4edd701d762384786b3 (patch)
tree7900ace2d2752de0438002a0185f33f4f3354a3e /src/arch/riscv
parentdc9f5cd54661e5ba3fffee7af0ba17dde9367b95 (diff)
commonlib: add endian related accessor functions
This commit adds read/write functions for both big and little endian interpretations. Additionally there are variants that allow an offset to be provided into the source buffer. BUG=None TEST=Wrote test harness for functions. Also booted ARM QEMU through end of payload. Change-Id: If44c4d489f0dab86a73b73580c039e364c7e517d Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/11677 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/arch/riscv')
0 files changed, 0 insertions, 0 deletions