> compile NEMU
221220000 张三 Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 17:46:39 up 19:55, 2 users, load average: 0.41, 0.27, 0.24
This commit is contained in:
@ -221,7 +221,6 @@ void init_sdb() {
|
||||
}
|
||||
|
||||
int test_expr() {
|
||||
init_sdb();
|
||||
uint32_t expect, res;
|
||||
char buf[65536] = {0};
|
||||
if (scanf("%"PRIu32" %s", &expect, buf));
|
||||
|
@ -21,10 +21,6 @@ void engine_start();
|
||||
int is_exit_status_bad();
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
#ifdef _TEST_EXPR_
|
||||
int test_expr(void);
|
||||
return test_expr();
|
||||
#endif
|
||||
/* Initialize the monitor. */
|
||||
#ifdef CONFIG_TARGET_AM
|
||||
am_init_monitor();
|
||||
@ -32,6 +28,10 @@ int main(int argc, char *argv[]) {
|
||||
init_monitor(argc, argv);
|
||||
#endif
|
||||
|
||||
#ifdef _TEST_EXPR_
|
||||
int test_expr(void);
|
||||
return test_expr();
|
||||
#endif
|
||||
/* Start engine. */
|
||||
engine_start();
|
||||
|
||||
|
Reference in New Issue
Block a user