aboutsummaryrefslogtreecommitdiff
path: root/risu_arm.c
AgeCommit message (Collapse)Author
2017-06-29risu: add header to trace streamAlex Bennée
I've also added a header packet with pc/risu op in it so we can keep better track of how things are going. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> [PMM: flipped header check to early-bailout so diff is easier to read] Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20170621154244.28309-6-alex.bennee@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-06-20all: fix up code consistencyAlex Bennée
This is pretty much a mechanical change where I ran: indent -kr Across all the files and then fixed up all but a few violations of: ../../qemu.git/scripts/checkpatch.pl -f *.c *.h > checkpatch.out Along with heavy use of M-x untabify to make everything consistent. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20170619104655.31104-4-alex.bennee@linaro.org [PMM: some bits of indent in risu_reginfo_arm.c were not right: fixed] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-02-24Move recv_and_compare_register_info() and report_match_status() to reginfo.cPeter Maydell
Move recv_and_compare_register_info() and report_match_status() to reginfo.c -- they are essentially the same for all targets so can be common code. The shared variables they use come with them. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-02-24Move send_register_info() to reginfo.cPeter Maydell
send_register_info() is now essentially the same code for all target CPUs, so move it into reginfo.c rather than having duplicated code. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-02-24Make get_risuop() a formal part of the CPU interfacePeter Maydell
Make get_risuop() a formal part of the CPU interface rather than just a de-facto common routine. Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>
2017-02-24Abstract out getting and setting parameter registerPeter Maydell
The SETMEMBLOCK operation takes a parameter in a register, and GETMEMBLOCK returns a result in a register. Abstract these out into functions provided by the backend, so we can use common code for send_register_info() and recv_and_compare_register_info(). Signed-off-by: Peter Maydell <pmaydell@chiark.greenend.org.uk>
2014-04-25risu_aarch64, risu_arm: do not use NULL in subtraction either.Claudio Fontana
Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
2014-04-25risu_aarch64, risu_arm: do not add to NULLClaudio Fontana
Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
2014-04-25risu_reginfo_arm: new module for the reginfo structClaudio Fontana
put the struct reginfo and its methods in a separate module. This also addresses the problem with the memcmp being used directly on the struct without the memset 0. Signed-off-by: Claudio Fontana <claudio.fontana@linaro.org>
2014-04-25configure: add a configuration step, prepare for 64bit compilationClaudio Fontana
adjust some types to be able to compile successfully on 64 bit. To make it cleanly, add a configure step to check for the appropriate types to use. Signed-off-by: Claudio Fontana <claudio.fontana@linaro.org>
2011-04-12risu: add --test-fp-exc to test FP exception status flagsPeter Maydell
Add a command line option --test-fp-exc which enables testing of the cumulative FP exception status flags. This is disabled by default because qemu gets them wrong a lot and they really aren't actually that important.
2011-04-12risu_arm.c: don't print register dumps for a successful runPeter Maydell
2011-04-01Improve diagnostics if master and slave disagree on packet sizePeter Maydell
Improve risu's diagnostics if the master and slave disagree about the size of the packets they are transmitting. This usually means that the two sides disagreed about whether a load/store insn should undef, so one side has reached a 'compare memory' request and the other is doing 'compare registers'.
2011-03-10risu: Implement new memory block opsPeter Maydell
Implement the new risu memory block ops: set, get, reget and compare.
2010-12-07Add licensing/copyright boilerplate to license under EPLPeter Maydell
Add the COPYING file and per-source-file boilerplate text to place risu ender the Eclipse Public License.
2010-10-14Ignore UNK/SBZP bits in FPSCR, also the cumulative exception bits.Peter Maydell
2010-10-14Improve mismatch reports (in particular add a summary of differences).Peter Maydell
2010-10-14Add code to handle comparing VFP registers.Peter Maydell
2010-10-13Remove stray debug tracing.Peter Maydell
2010-10-13Support test code being in Thumb mode.Peter Maydell
2010-09-22Handle CPSR correctly in test images and in comparisons.Peter Maydell
This commit lets valgrind-vs-native pass on the trivial test.
2010-09-22Add handling of ARM general registers.Peter Maydell
This is sufficient for the simple test case to give a match.
2010-09-20Add the initial structure of SIGILL handling and CPU-specific interface.Peter Maydell