Jia Liu b6d9766ddf hw/openrisc: Avoid using uninitialised variable 'entry'
clang warns that cpu_openrisc_load_kernel() can use 'entry' uninitialized:

hw/openrisc/openrisc_sim.c:69:9: error: variable 'entry' is used uninitialized
whenever '&&' condition is false [-Werror,-Wsometimes-uninitialized]

    if (kernel_filename && !qtest_enabled()) {
        ^~~~~~~~~~~~~~~
hw/openrisc/openrisc_sim.c:91:19: note: uninitialized use occurs here
    cpu->env.pc = entry;
                  ^~~~~

Fix this by not attempting to change the CPU's starting PC unless
we actually loaded a kernel.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Jia Liu <proljc@gmail.com>
2013-08-21 09:15:36 +08:00
2013-08-19 15:52:19 +02:00
2013-04-18 13:50:53 +02:00
2013-07-09 13:38:56 -05:00
2013-08-20 11:23:52 -05:00
2013-07-30 23:11:07 +01:00
2013-08-07 12:48:00 -05:00
2013-07-26 22:01:31 +02:00
2013-07-30 23:11:07 +01:00
2013-08-05 08:06:25 -05:00
2013-05-03 13:58:09 +02:00
2013-07-30 10:25:47 +02:00
2012-09-07 09:02:44 +03:00
2013-06-11 23:45:43 +04:00
2013-07-18 08:17:42 -07:00
2013-08-19 08:49:37 -05:00
2013-08-19 15:52:19 +02:00
2013-08-19 15:52:19 +02:00
2013-07-23 11:12:00 +02:00
2013-08-19 15:52:19 +02:00
2013-04-08 18:13:10 +02:00
2012-05-14 07:27:24 +02:00
2013-08-05 08:06:25 -05:00
2013-08-16 18:44:33 +02:00
2013-07-31 21:03:59 +02:00
2013-07-23 02:41:31 +02:00
2013-07-15 09:49:00 +02:00
2013-02-21 16:17:31 -06:00
2013-08-12 09:15:12 -05:00
2013-08-19 15:52:19 +02:00
2013-08-19 08:49:37 -05:00
2013-06-14 15:33:10 +01:00
2013-08-02 18:05:16 +04:00
2013-05-03 13:05:49 +02:00
2013-05-18 16:35:12 +04:00
2013-02-22 21:21:10 +01:00
2013-06-06 11:27:05 +02:00
2013-07-19 12:52:03 +04:00
2013-05-01 13:06:07 +02:00
2011-12-11 17:50:43 -06:00
2013-05-03 12:04:40 -05:00
2013-07-23 11:11:59 +02:00
2013-08-19 15:52:19 +02:00
2013-08-15 15:41:13 -05:00
2013-07-30 10:25:47 +02:00
2013-07-04 17:42:45 +02:00
2013-04-08 18:13:10 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 530 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%