diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2018-06-22 15:11:56 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-07-02 13:08:21 +0100 |
commit | 6283dc82df05bcde52d0a6ba3a1c10443db1593d (patch) | |
tree | b6bcd858162ba5c090d71c0c0a882a9f0269aa40 /risu.h | |
parent | f4639235768641b8adc520f515635c57e576c92c (diff) |
risu: move optional args to each architecture
The key variables here are: *arch_long_opts and *arch_extra_help. If
they are not NULL then we concatenate the extra options to appropriate
structure to enable the support. Adding architecture short options is
not supported.
This also includes moving the ARM specific test_fp_exc/test-fp-exc
into ARM specific code.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180622141205.16306-14-alex.bennee@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'risu.h')
-rw-r--r-- | risu.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -17,6 +17,10 @@ #include <ucontext.h> #include <stdio.h> +/* Extra option processing for architectures */ +extern void *arch_long_opts; +extern char *arch_extra_help; + /* GCC computed include to pull in the correct risu_reginfo_*.h for * the architecture. */ @@ -36,8 +40,6 @@ void send_response_byte(int sock, int resp); extern uintptr_t image_start_address; extern void *memblock; -extern int test_fp_exc; - /* Ops code under test can request from risu: */ #define OP_COMPARE 0 #define OP_TESTEND 1 |