On 02/20/2012 10:48 AM, Stefan Berger wrote:
On 02/20/2012 03:51 AM, Michael S. Tsirkin wrote:+static const MemoryRegionOps tpm_tis_memory_ops = { + .read = tpm_tis_mmio_read, + .write = tpm_tis_mmio_write, + .endianness = DEVICE_NATIVE_ENDIAN,Are you sure? Most devices are BIG or LITTLE.Right, it should be BIG endian. I'll fix it. Luckily there are only a few 32bit accesses (and no 16bit access) also in
Replace that with 'LITTLE endian'. Stefan