Home
last modified time | relevance | path

Searched hist:"134 ab17fffb32a3f86debb4eec9df12f7f833a3b" (Results 1 – 6 of 6) sorted by relevance

/qemu/include/hw/
H A Dloader.h134ab17fffb32a3f86debb4eec9df12f7f833a3b Wed Mar 19 11:54:31 UTC 2025 Paolo Bonzini <pbonzini@redhat.com> load_aout: replace bswap_needed with big_endian

Targets know whether they are big-endian more than they know if
the endianness is different from the host: the former is mostly
a constant, at least in machine creation code, while the latter
has to be computed with TARGET_BIG_ENDIAN != HOST_BIG_ENDIAN or
something like that.

load_aout, however, takes a "bswap_needed" argument. Replace
it with a "big_endian" argument; even though all users are
big-endian, it is cheap enough to keep the optional swapping
functionality even for little-endian boards.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/qemu/hw/core/
H A Dloader.c134ab17fffb32a3f86debb4eec9df12f7f833a3b Wed Mar 19 11:54:31 UTC 2025 Paolo Bonzini <pbonzini@redhat.com> load_aout: replace bswap_needed with big_endian

Targets know whether they are big-endian more than they know if
the endianness is different from the host: the former is mostly
a constant, at least in machine creation code, while the latter
has to be computed with TARGET_BIG_ENDIAN != HOST_BIG_ENDIAN or
something like that.

load_aout, however, takes a "bswap_needed" argument. Replace
it with a "big_endian" argument; even though all users are
big-endian, it is cheap enough to keep the optional swapping
functionality even for little-endian boards.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/qemu/hw/ppc/
H A Dmac_oldworld.c134ab17fffb32a3f86debb4eec9df12f7f833a3b Wed Mar 19 11:54:31 UTC 2025 Paolo Bonzini <pbonzini@redhat.com> load_aout: replace bswap_needed with big_endian

Targets know whether they are big-endian more than they know if
the endianness is different from the host: the former is mostly
a constant, at least in machine creation code, while the latter
has to be computed with TARGET_BIG_ENDIAN != HOST_BIG_ENDIAN or
something like that.

load_aout, however, takes a "bswap_needed" argument. Replace
it with a "big_endian" argument; even though all users are
big-endian, it is cheap enough to keep the optional swapping
functionality even for little-endian boards.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
H A Dmac_newworld.c134ab17fffb32a3f86debb4eec9df12f7f833a3b Wed Mar 19 11:54:31 UTC 2025 Paolo Bonzini <pbonzini@redhat.com> load_aout: replace bswap_needed with big_endian

Targets know whether they are big-endian more than they know if
the endianness is different from the host: the former is mostly
a constant, at least in machine creation code, while the latter
has to be computed with TARGET_BIG_ENDIAN != HOST_BIG_ENDIAN or
something like that.

load_aout, however, takes a "bswap_needed" argument. Replace
it with a "big_endian" argument; even though all users are
big-endian, it is cheap enough to keep the optional swapping
functionality even for little-endian boards.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/qemu/hw/sparc/
H A Dsun4m.c134ab17fffb32a3f86debb4eec9df12f7f833a3b Wed Mar 19 11:54:31 UTC 2025 Paolo Bonzini <pbonzini@redhat.com> load_aout: replace bswap_needed with big_endian

Targets know whether they are big-endian more than they know if
the endianness is different from the host: the former is mostly
a constant, at least in machine creation code, while the latter
has to be computed with TARGET_BIG_ENDIAN != HOST_BIG_ENDIAN or
something like that.

load_aout, however, takes a "bswap_needed" argument. Replace
it with a "big_endian" argument; even though all users are
big-endian, it is cheap enough to keep the optional swapping
functionality even for little-endian boards.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/qemu/hw/sparc64/
H A Dsun4u.c134ab17fffb32a3f86debb4eec9df12f7f833a3b Wed Mar 19 11:54:31 UTC 2025 Paolo Bonzini <pbonzini@redhat.com> load_aout: replace bswap_needed with big_endian

Targets know whether they are big-endian more than they know if
the endianness is different from the host: the former is mostly
a constant, at least in machine creation code, while the latter
has to be computed with TARGET_BIG_ENDIAN != HOST_BIG_ENDIAN or
something like that.

load_aout, however, takes a "bswap_needed" argument. Replace
it with a "big_endian" argument; even though all users are
big-endian, it is cheap enough to keep the optional swapping
functionality even for little-endian boards.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>