提交 82e5d464 编写于 作者: M Max Filippov 提交者: Blue Swirl

target-xtensa: make 'sim' to be the default machine

This fixes the following error:

    $ qemu-system-xtensa -cpu help
    Segmentation fault
Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 e38077ff
...@@ -111,6 +111,7 @@ static void xtensa_sim_init(ram_addr_t ram_size, ...@@ -111,6 +111,7 @@ static void xtensa_sim_init(ram_addr_t ram_size,
static QEMUMachine xtensa_sim_machine = { static QEMUMachine xtensa_sim_machine = {
.name = "sim", .name = "sim",
.desc = "sim machine (" XTENSA_DEFAULT_CPU_MODEL ")", .desc = "sim machine (" XTENSA_DEFAULT_CPU_MODEL ")",
.is_default = true,
.init = xtensa_sim_init, .init = xtensa_sim_init,
.max_cpus = 4, .max_cpus = 4,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册