diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2014-02-10 12:26:45 +0400 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2014-02-24 04:47:01 +0400 |
commit | d0fa1f0df3c8c269df083e2c8a10dfad09dffcf3 (patch) | |
tree | 1c54d408c7f1a1ac5d5a3686b925d62105fec750 /tests/tcg/xtensa/macros.inc | |
parent | e848dd4248230c0463841a16d1fa9eb054a2d211 (diff) | |
download | qemu-d0fa1f0df3c8c269df083e2c8a10dfad09dffcf3.zip |
target-xtensa: add overridable test_init macro
Some test suites, like MMU, need per-test initialization. Don't make them
redefine test macro, add test_init for that purpose.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'tests/tcg/xtensa/macros.inc')
-rw-r--r-- | tests/tcg/xtensa/macros.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tcg/xtensa/macros.inc b/tests/tcg/xtensa/macros.inc index c9be1ce516..ead8528aef 100644 --- a/tests/tcg/xtensa/macros.inc +++ b/tests/tcg/xtensa/macros.inc @@ -43,8 +43,12 @@ main: simcall .endm +.macro test_init +.endm + .macro test name //print test_\name + test_init test_\name: .global test_\name .endm |