Statistics
| Branch: | Revision:

root / bswap.h @ bd023f95

History | View | Annotate | Download (5 kB)

# Date Author Comment
17e6a53f 05/31/2010 09:55 pm Alexander Graf

Fix leul_to_cpu on big endian hosts

Commit 213acd2e introduced leul_to_cpu with a special code path for big endian
hosts. Unfortunately that code used preprocessor magic that didn't work.

This patch replaces the explicit ##s by glue() which is proven to work reliably,...

213acd2e 04/28/2010 07:41 pm Marcelo Tosatti

introduce leul_to_cpu

To be used by next patch.

Signed-off-by: Marcelo Tosatti <>

e73d6e3a 02/14/2010 04:10 pm Michael S. Tsirkin

bwap: add qemu_bswap helper

add helper that can swap values of 4, 2, 1 bytes

Signed-off-by: Michael S. Tsirkin <>

936dfb80 07/27/2009 10:09 pm Juan Quintela

rename HAVE_BYTESWAP_H to CONFIG_BYTESWAP_H

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

e2542fe2 07/27/2009 10:09 pm Juan Quintela

rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

5735147e 07/27/2009 10:09 pm Juan Quintela

rename HAVE_MACHINE_BSWAP_H to CONFIG_MACHINE_BSWAP_H

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

9e622b15 03/07/2009 05:46 pm blueswir1

Sparse fixes: truncation by cast

Fix Sparse warnings about constant truncation caused by cast

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6737 c046a42c-6fe2-441c-8c8c-71466251a162

e58ffeb3 01/14/2009 08:39 pm malc

Remove all traces of powerpc

According to $GCC/gcc/config/rs6000/rs6000-c.c _ARCH_PPC is the
ubiquitous define which should be used to test whether gcc targets
PowerPC, on 64bit platforms _ARCH_PPC64 will be also defined.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6301 c046a42c-6fe2-441c-8c8c-71466251a162

1360677c 12/05/2008 07:54 pm blueswir1

Attached patch makes NetBSD use the native bswap functions
which compile.

Signed-off-by: Christoph Egger <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5886 c046a42c-6fe2-441c-8c8c-71466251a162

88738c09 03/29/2008 12:30 am aurel32

e1000: fix unaligned access

(Tristan Gingold)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4121 c046a42c-6fe2-441c-8c8c-71466251a162

5fafdf24 09/17/2007 12:08 am ths

find -type f | xargs sed -i 's/[\t ]$//g' # on most files

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3173 c046a42c-6fe2-441c-8c8c-71466251a162

188d8579 10/10/2004 06:44 pm bellard

limited 8 bit support - removed unaligned memory accesses in VGA (initial patch by Johannes Schindelin)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1116 c046a42c-6fe2-441c-8c8c-71466251a162

af8ffdfd 08/02/2004 12:48 am bellard

byte swap functions

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1031 c046a42c-6fe2-441c-8c8c-71466251a162

f193c797 03/21/2004 07:06 pm bellard

do not depend on thunk.h - more log items

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@675 c046a42c-6fe2-441c-8c8c-71466251a162

bc51c5c9 03/18/2004 01:46 am bellard

initial x86-64 host support (Gwenole Beauchesne)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@670 c046a42c-6fe2-441c-8c8c-71466251a162

ab93bbe2 08/11/2003 12:35 am bellard

soft mmu support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@349 c046a42c-6fe2-441c-8c8c-71466251a162