-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AVR support #2021
base: dev
Are you sure you want to change the base?
AVR support #2021
Commits on Oct 22, 2024
-
qemu/tcg: fix UC_HOOK_MEM_READ on aarch64.
Directly jump into the slow path when there is any hookmem enabled. This fixes unicorn-engine#1908. Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 376c169 - Browse repository at this point
Copy the full SHA 376c169View commit details -
qemu/tcg: fix UC_HOOK_MEM_READ on ppc64.
Directly jump into the slow path when there is any hookmem enabled. Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bfe3acb - Browse repository at this point
Copy the full SHA bfe3acbView commit details -
qemu/tcg: check for UC_HOOK_MEM_READ_AFTER.
Use has_hookmem() helper to determine wether "slow-path" TLB read is needed. Add this helper to x86 architecture as well so that to check for all hookmem. Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d84208e - Browse repository at this point
Copy the full SHA d84208eView commit details -
qemu/tcg: factor out has_hookmem().
It's the same implementation for all architectures, so factor out has_hookmem() into tcg_uc_has_hookmem(). Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a5711c - Browse repository at this point
Copy the full SHA 7a5711cView commit details -
Import AVR target from QEMU v5.2.0.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f1251b - Browse repository at this point
Copy the full SHA 0f1251bView commit details -
qemu/target/avr: Register AVR support with the rest of QEMU
Add AVR related definitions into QEMU, make AVR support buildable. [AM: Remove word 'Atmel' from filenames and all elements of code] Suggested-by: Aleksandar Markovic <[email protected]> Signed-off-by: Michael Rolnik <[email protected]> Signed-off-by: Richard Henderson <[email protected]> Signed-off-by: Aleksandar Markovic <[email protected]> Tested-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Aleksandar Markovic <[email protected]> Signed-off-by: Thomas Huth <[email protected]> Message-Id: <[email protected]> [PMD: Fixed @avr tag in qapi/machine.json] Signed-off-by: Philippe Mathieu-Daudé <[email protected]> (cherry picked from commit 42f3ff001339e37df4f13b709d2db00a488ee45c) Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8d1318 - Browse repository at this point
Copy the full SHA d8d1318View commit details -
qemu/target/avr: pregenerate decoder.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1859cb - Browse repository at this point
Copy the full SHA b1859cbView commit details -
qemu/target/avr: pregenerate overrides (extern symbols).
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c466b9 - Browse repository at this point
Copy the full SHA 4c466b9View commit details -
qemu/target/avr: add initial Unicorn integration.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d20309 - Browse repository at this point
Copy the full SHA 1d20309View commit details -
qemu/target/avr: add support for block and insn hooks.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4eccc2 - Browse repository at this point
Copy the full SHA d4eccc2View commit details -
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ab8db2 - Browse repository at this point
Copy the full SHA 3ab8db2View commit details -
Use alternate Flash program memory (code) base for AVR targets.
This is needed because the AVR CPU has separate code and data address spaces that both start from zero. Use 0x08000000 base for Flash memory and 0x00000000 base for CPU registers, IO registers and SRAM as the fast case. Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b8932f - Browse repository at this point
Copy the full SHA 0b8932fView commit details -
Separate AVR architectures ("avr5", "avr51", "avr6", etc.) from actual MCU models. Only list the most representative MCU models. Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d263b4 - Browse repository at this point
Copy the full SHA 6d263b4View commit details -
AVR: add 16-bit & 32-bit register accessors.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d150f71 - Browse repository at this point
Copy the full SHA d150f71View commit details -
AVR: fix selection and validation of CPU model.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb21e2f - Browse repository at this point
Copy the full SHA eb21e2fView commit details -
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c99b55 - Browse repository at this point
Copy the full SHA 1c99b55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c5f3ea - Browse repository at this point
Copy the full SHA 3c5f3eaView commit details -
bindings: update const generator for AVR.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 602d2ba - Browse repository at this point
Copy the full SHA 602d2baView commit details -
bindings: regenerate constants for AVR support.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for abbff49 - Browse repository at this point
Copy the full SHA abbff49View commit details -
build: update build systems for AVR support.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a1984d3 - Browse repository at this point
Copy the full SHA a1984d3View commit details -
AVR: drop built-in disassembler tools.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2f9061b - Browse repository at this point
Copy the full SHA 2f9061bView commit details -
AVR: update for new v2.1.x APIs.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8902493 - Browse repository at this point
Copy the full SHA 8902493View commit details -
AVR: fix cpu_reset() prototype.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1cdf85 - Browse repository at this point
Copy the full SHA b1cdf85View commit details -
AVR: drop unused error_report() function override.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5b5d1f8 - Browse repository at this point
Copy the full SHA 5b5d1f8View commit details -
AVR: fix compilation on non-Linux platforms.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5eefbee - Browse repository at this point
Copy the full SHA 5eefbeeView commit details -
AVR: move declarations at the begining of the function.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae2e302 - Browse repository at this point
Copy the full SHA ae2e302View commit details -
AVR: mention new architecture into README.md.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 66183ba - Browse repository at this point
Copy the full SHA 66183baView commit details -
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9311139 - Browse repository at this point
Copy the full SHA 9311139View commit details -
AVR: fix build with older compilers.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3918165 - Browse repository at this point
Copy the full SHA 3918165View commit details -
bindings: add avr constants to python binding module.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab8cc64 - Browse repository at this point
Copy the full SHA ab8cc64View commit details -
rust: add AVR architecture support.
Signed-off-by: Glenn Baker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a25b59 - Browse repository at this point
Copy the full SHA 9a25b59View commit details