Statistics
| Branch: | Revision:

root / include @ 26ca8c06

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
4d454574 01/12/2013 06:17 pm Paolo Bonzini

qemu-option: move standard option definitions out of qemu-config.c

Signed-off-by: Paolo Bonzini <>

092bb306 01/12/2013 02:42 pm Gerd Hoffmann

pixman: fix warning

Cc:
Cc:
Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

c732a52d 01/12/2013 02:24 pm Richard Henderson

bswap: Rewrite cpu_to_<endian><type>u with {ld,st}<type>_<endian>_p

We've now optimized the ld/st versions; reuse that for the "legacy"
versions. Always use inlines so that we get the type checking that
we expect.

Signed-off-by: Richard Henderson <>...

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....

View revisions

Also available in: Atom