Igor Mitsyanko <i.mitsya...@samsung.com> wrote: > Instead of defining VMSTATE_UINTTL* based on TARGET_LONG_BITS value, we can > use qemu_put_betls/qemu_get_betls functions. These two functions depend on > TARGET_LONG_BITS as well, and this new approach for VMSTATE_UINTTL* will > result > in the same thing as before (will call qemu_get_be32s/qemu_put_be32s for > 32-bit > target or qemu_put_be64s/qemu_get_be64s for 64-bit target). > Move VMSTATE_UINTTL* definitions to vmstate.h where they belong.
The idea was to removed the other functions. Notice that the cases are equivalent. i.e. this just bring us a new type that we have to represent, maintain. The other makes use to use a define, take your poison. Later, Juan.