adding Irix (and, to a lesser extent, Solaris) userland emulation to QEMU
Go to file
Andreas Färber cb5ef3fa18 tmp105: Fix I2C protocol bug
An early length postincrement in the TMP105's I2C TX path led to
transfers of more than one byte to place the second byte in the third
byte's place within the buffer and the third byte to get discarded.

Fix this by explictly incrementing the length after the checks but
before the callback is called, which again checks the length.

Adjust the Coding Style while at it.

Signed-off-by: Alex Horn <alex.horn@cs.ox.ac.uk>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-01-16 12:14:20 -06:00
QMP
audio audio: Replace non-portable asprintf in debug code by g_strdup_printf 2013-01-16 12:03:26 -06:00
backends Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
block block: Fix how mirror_run() frees its buffer 2013-01-15 17:28:55 +01:00
bsd-user
default-configs Add TEWS TPCI200 IndustryPack emulation 2013-01-14 13:26:12 -06:00
disas
docs pci,virtio 2013-01-14 10:23:50 -06:00
fpu
fsdev qemu-option: move standard option definitions out of qemu-config.c 2013-01-12 17:17:53 +01:00
gdb-xml
hw tmp105: Fix I2C protocol bug 2013-01-16 12:14:20 -06:00
include Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2013-01-15 16:53:10 -06:00
ldscripts
libcacard build: fold trace-obj-y into libqemuutil.a 2013-01-12 18:42:51 +01:00
linux-headers kvm: Update kernel headers 2013-01-07 17:37:11 +01:00
linux-user Merge branch 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf 2013-01-12 12:47:02 +00:00
net qemu-option: move standard option definitions out of qemu-config.c 2013-01-12 17:17:53 +01:00
pc-bios
pixman@97336fad32
qapi build: move base QAPI files to libqemuutil.a 2013-01-12 18:42:51 +01:00
qga Merge remote-tracking branch 'mdroth/qga-pull-1-14-2013-2' into staging 2013-01-15 16:50:04 -06:00
qobject build: move qobject files to qobject/ and libqemuutil.a 2013-01-12 18:42:50 +01:00
qom qom: Make object_resolve_path_component() path argument const 2013-01-15 10:54:23 +01:00
roms
scripts Merge branch 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf 2013-01-12 12:47:02 +00:00
slirp slirp: remove unused field tt 2013-01-12 12:26:16 +00:00
stubs stubs: fully replace qemu-tool.c and qemu-user.c 2013-01-12 17:19:08 +01:00
sysconfigs/target
target-alpha cpu: Move cpu_index field to CPUState 2013-01-15 04:09:13 +01:00
target-arm cpu: Move cpu_index field to CPUState 2013-01-15 04:09:13 +01:00
target-cris cpu: Move cpu_index field to CPUState 2013-01-15 04:09:13 +01:00
target-i386 target-i386: Use switch in check_hw_breakpoints() 2013-01-15 09:23:50 +01:00
target-lm32 cpu: Move cpu_index field to CPUState 2013-01-15 04:09:13 +01:00
target-m68k cpu: Move cpu_index field to CPUState 2013-01-15 04:09:13 +01:00
target-microblaze cpu: Move cpu_index field to CPUState 2013-01-15 04:09:13 +01:00
target-mips exec: Return CPUState from qemu_get_cpu() 2013-01-15 04:09:14 +01:00
target-openrisc cpu: Move cpu_index field to CPUState 2013-01-15 04:09:13 +01:00
target-ppc cpu: Move cpu_index field to CPUState 2013-01-15 04:09:13 +01:00
target-s390x cpu: Move cpu_index field to CPUState 2013-01-15 04:09:13 +01:00
target-sh4 cpu: Move cpu_index field to CPUState 2013-01-15 04:09:13 +01:00
target-sparc cpu: Move cpu_index field to CPUState 2013-01-15 04:09:13 +01:00
target-unicore32
target-xtensa
tcg tcg-i386: use LEA for 3-operand 64-bit addition 2013-01-12 12:45:56 +00:00
tests libqtest: Prepare I2C libqos 2013-01-16 12:14:20 -06:00
trace build: fold trace-obj-y into libqemuutil.a 2013-01-12 18:42:51 +01:00
ui ui: Drop useless null tests in parse_keyboard_layout() 2013-01-16 12:02:47 -06:00
util acl: Free memory allocated with g_malloc() with g_free() 2013-01-15 18:25:41 -06:00
.exrc
.gitignore Add libcacard/trace/generated-tracers.c to .gitignore 2013-01-15 10:34:54 +01:00
.gitmodules
.mailmap
CODING_STYLE
COPYING
COPYING.LIB
Changelog
HACKING
LICENSE
MAINTAINERS Merge branch 's390-reorg' of git://repo.or.cz/qemu/rth 2013-01-12 12:46:57 +00:00
Makefile Merge remote-tracking branch 'kraxel/pixman.v6' into staging 2013-01-14 10:27:41 -06:00
Makefile.objs build: fold trace-obj-y into libqemuutil.a 2013-01-12 18:42:51 +01:00
Makefile.target build: improve quiet output for .stp rules 2013-01-12 18:42:51 +01:00
README
TODO
VERSION
aio-posix.c
aio-win32.c
arch_init.c
async.c
balloon.c
block-migration.c
block.c block: clear dirty bitmap when discarding 2013-01-15 10:03:48 +01:00
blockdev-nbd.c
blockdev.c qemu-option: move standard option definitions out of qemu-config.c 2013-01-12 17:17:53 +01:00
blockjob.c
bt-host.c
bt-vhci.c
cmd.c
cmd.h
configure Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2013-01-15 16:53:10 -06:00
coroutine-gthread.c
coroutine-sigaltstack.c
coroutine-ucontext.c gcc: rename CONFIG_PRAGMA_DISABLE_UNUSED_BUT_SET to CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE 2013-01-12 12:42:53 +00:00
coroutine-win32.c
cpu-exec.c
cpus.c kvm: Pass CPUState to kvm_init_vcpu() 2013-01-15 04:09:13 +01:00
cputlb.c
device_tree.c
disas.c
dma-helpers.c
dump-stub.c
dump.c
exec.c exec: Return CPUState from qemu_get_cpu() 2013-01-15 04:09:14 +01:00
gdbstub.c cpu: Move cpu_index field to CPUState 2013-01-15 04:09:13 +01:00
hmp-commands.hx
hmp.c
hmp.h
iohandler.c
ioport.c
kvm-all.c kvm: add stub for kvm_irqchip_update_msi_route 2013-01-15 18:25:05 -06:00
kvm-stub.c kvm: Pass CPUState to kvm_init_vcpu() 2013-01-15 04:09:13 +01:00
main-loop.c Check return values from g_poll and select 2013-01-09 11:03:05 -06:00
memory.c
memory_mapping-stub.c
memory_mapping.c
migration-exec.c
migration-fd.c
migration-tcp.c
migration-unix.c
migration.c
monitor.c cpu: Move cpu_index field to CPUState 2013-01-15 04:09:13 +01:00
nbd.c
os-posix.c
os-win32.c
page_cache.c
qapi-schema-test.json
qapi-schema.json
qdict-test-data.txt
qemu-bridge-helper.c
qemu-char.c qemu-option: move standard option definitions out of qemu-config.c 2013-01-12 17:17:53 +01:00
qemu-coroutine-io.c
qemu-coroutine-lock.c
qemu-coroutine-sleep.c
qemu-coroutine.c
qemu-doc.texi
qemu-img-cmds.hx
qemu-img.c
qemu-img.texi
qemu-io.c
qemu-log.c
qemu-nbd.c
qemu-nbd.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx
qemu-seccomp.c
qemu-tech.texi
qemu-timer.c
qemu.sasl
qmp-commands.hx
qmp.c
qtest.c
readline.c readline: avoid memcpy() of overlapping regions 2013-01-08 10:00:26 +01:00
rules.mak build: move version-obj-y to the generic LINK rule 2013-01-12 18:42:51 +01:00
savevm.c savevm: Remove MinGW specific code which is no longer needed 2013-01-11 09:35:11 +01:00
spice-qemu-char.c
tcg-runtime.c
tci.c
thread-pool.c
thunk.c
trace-events Merge branch 'master' of git://git.qemu.org/qemu into prep-up 2013-01-10 21:52:28 +01:00
translate-all.c
translate-all.h
user-exec.c
version.rc
vl.c Make default boot order machine specific 2013-01-15 18:26:18 -06:00
xen-all.c xen: Simplify halting of first CPU 2013-01-15 04:09:14 +01:00
xen-mapcache.c
xen-stub.c

README

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team