Statistics
| Branch: | Revision:

root / include @ 612d590e

Name Size
  block
  bt
  char
  disas
  exec
  fpu
  migration
  monitor
  net
  qapi
  qemu
  qom
  sysemu
  ui
config.h 52 Bytes
elf.h 47.3 kB
libfdt_env.h 1 kB
qemu-common.h 11.9 kB

Latest revisions

# Date Author Comment
612d590e 01/12/2013 02:24 pm Richard Henderson

bswap: Rewrite all ld<type>_<endian>_p functions

Use the new host endian unaligned access functions instead of
open coding byte-by-byte references. Remove assembly special
cases for i386 and ppc -- we've now exposed the operation to
the compiler sufficiently for these to be optimized automatically....

7db2145a 01/12/2013 02:24 pm Richard Henderson

bswap: Add host endian unaligned access functions

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

cdfe2851 01/12/2013 02:23 pm Richard Henderson

bswap: Tidy base definitions of bswapN

Move the bswap_N -> bswapN wrappers inside CONFIG_BYTESWAP_H.

Change the ultimate fallback defintions from macros to inline functions.
The proper types recieved by the function arguments means we can remove
unnecessary casts, making the code more readable....

fedb88bd 01/12/2013 02:22 pm Richard Henderson

fdt: Use bswapN instead of bswap_N

Fixes the libfdt enabled build for hosts that have <machine/bswap.h>.

The code at the beginning of qemu/bswap.h is attempting to standardize
on bswapN. In the case of CONFIG_MACHINE_BSWAP_H, this is all we get.
In the case of CONFIG_BYTESWAP_H, we get bswap_N from the system header...

8c43a6f0 01/10/2013 11:11 pm Andreas Färber

Make all static TypeInfos const

Since 39bffca2030950ef6efe57c2fac8327a45ae1015 (qdev: register all
types natively through QEMU Object Model), TypeInfo as used in
the common, non-iterative pattern is no longer amended with information
and should therefore be const....

961f8395 01/08/2013 10:03 pm Eduardo Habkost

cpu: Change parent type to Device

This finally makes the CPU class a subclass of the Device class,
allowing us to start using DeviceState properties on CPU subclasses.

It has no_user=1, as creating CPUs using -device doesn't work yet.

Signed-off-by: Igor Mammedov <>...

75a192aa 01/08/2013 10:03 pm Andreas Färber

qemu-common.h: Make qemu_init_vcpu() stub static inline

Turn the *-user macro into a no-op inline function to avoid
unused-variable warnings and band-aiding #ifdef'ery.

This allows to drop an #ifdef for alpha and avoids more for unicore32
and other upcoming trivial realizefn implementations....

1e397ead 01/05/2013 12:12 pm Richard Henderson

softfloat: Implement uint64_to_float128

Reviewed-by: Peter Maydell <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

530c0bbd 01/02/2013 04:58 pm Stefan Hajnoczi

iov: add qemu_iovec_concat_iov()

The qemu_iovec_concat() function copies a subset of a QEMUIOVector. The
new qemu_iovec_concat_iov() function does the same for a iov/cnt pair.

It is easy to define qemu_iovec_concat() in terms of
qemu_iovec_concat_iov(). The existing code is mostly unchanged, except...

d0277635 01/02/2013 04:58 pm Stefan Hajnoczi

iov: add iov_discard_front/back() to remove data

The iov_discard_front/back() functions remove data from the front or
back of the vector. This is useful when peeling off header/footer
structs.

Signed-off-by: Stefan Hajnoczi <>

View revisions

Also available in: Atom