commit | ba02f0eb826da6dbdc5a2958ac52304ee441234f | [log] [tgz] |
---|---|---|
author | Chris Metcalf <cmetcalf@tilera.com> | Wed Aug 07 11:55:35 2013 -0400 |
committer | Chris Metcalf <cmetcalf@tilera.com> | Tue Aug 13 16:26:05 2013 -0400 |
tree | 8b50a046b6dd1a4cbc1379ae43c1c673c39e8d3d | |
parent | bc1a298f4e04833db4c430df59b90039f0170515 [diff] |
tile: improve big-endian support First, fix a bug in asm/unaligned.h; we need to just use the asm-generic unaligned.h so we properly choose endian-correct flavors. Second, keep the hv/hypervisor.h ABI fully "native" in the sense that we don't have __BIG_ENDIAN__ ifdefs there. Instead, we use macros in the head_NN.S assembly code to properly extract two 32-bit structure members from a 64-bit register holding the structure. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>