aboutsummaryrefslogtreecommitdiff
path: root/risu_m68k.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-24Tidy up #include linesPeter Maydell
Tidy up unnecessary #includes that risu.h provides. 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-24m68k: Drop unused ucontext_t* argument to reginfo_is_eq()Peter Maydell
Drop the ucontext*t argument to reginfo_is_eq(); we don't use it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-02-24ppc64le, m68k: Make reginfo_dump() API match arm, aarch64Peter Maydell
Make the reginfo_dump() API for ppc64le and m68k match the one used for ARM and AArch64, which takes a FILE*, doesn't have a flag for is_master, and returns a success indication. 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>
2017-02-10m68k: implement server and client sideLaurent Vivier
This also adds the basic test file and the configuration update. This implementation can only test instructions with values in register and no memory access. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Message-id: 20170207183356.17840-3-laurent@vivier.eu Signed-off-by: Peter Maydell <peter.maydell@linaro.org>