aboutsummaryrefslogtreecommitdiff
path: root/risu_aarch64.c
AgeCommit message (Collapse)Author
2022-07-18Add enum RisuOpRichard Henderson
Formalize the set of defines, plus -1, into an enum. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220708154700.18682-8-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
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-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-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>
2016-12-16risu_aarch64: it's -> it isAlex Bennée
Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20161209114830.9158-7-alex.bennee@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2014-04-25risugen: adapt for aarch64Claudio Fontana
still float missing, test missing, yadda yadda. Signed-off-by: Claudio Fontana <claudio.fontana@linaro.org>
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_aarch64: provide risu initial implementation for aarch64Claudio Fontana
Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>