Read about our upcoming Code of Conduct on this issue

Commit 2126ae24 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

QEMU: fixed CURRENT_TASK for 5D (both GDB script and model_list.c)

--HG--
branch : qemu
parent cf53760e0886
......@@ -48,7 +48,7 @@ struct eos_model_desc eos_model_list[] = {
.ram_size = 0x08000000, /* 128MB (guess) */
.mmio_size = 0x20000000,
.card_led_address = 0xC02200A0,
/* .current_task_addr = 0x2D2C4 */ /* fixme: it's MEM(0x2D2C4) */
.current_task_addr = 0x2D2C4,
.dedicated_movie_mode = -1,
},
{
......
......@@ -12,7 +12,7 @@ source -v debug-logging.gdb
#symbol-file ../magic-lantern/platform/5D.111/autoexec
#symbol-file ../magic-lantern/platform/5D.111/stubs.o
macro define CURRENT_TASK (MEM(0x2D2C4) ? MEM(0x2D2C4) : 0x2D2C4)
macro define CURRENT_TASK 0x2D2C4
macro define CURRENT_TASK_NAME (((int*)CURRENT_TASK)[0] ? ((char***)CURRENT_TASK)[0][13] : CURRENT_TASK)
macro define CURRENT_ISR 0
......
2a8243387ed5f8ce189d2a8c32b0cb80 calls-main.log
8474aeda1b117a2b4827398a959425b5 calls-main.idc
e6ac46a05a63ec29da53896cf425161b calls-main-basic.log
d81c6456e81a3e1511c32490a27461b5 calls-main.log
9021cc8428059db3acd18f12c579ba59 calls-main.idc
28bc3efeeb1375b2ff2b6538e7c481b7 calls-main-basic.log
71bec52f1c6ef45bd7ed273e9f41ca3e calls-main-basic.idc
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment