Read about our upcoming Code of Conduct on this issue

Commit 0bac6832 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

QEMU: defined CURRENT_ISR on VxWorks models

(5D, 40D, 400D, 450D, 1000D)

The interrupt ID is only stored the stack, but the address appears to be repeatable for the first nesting level. Better than nothing.

--HG--
branch : qemu
parent 3b117918c844
......@@ -10,7 +10,7 @@ source -v debug-logging.gdb
macro define CURRENT_TASK 0x352C0
macro define CURRENT_TASK_NAME (((int*)CURRENT_TASK)[0] ? ((char***)CURRENT_TASK)[0][13] : CURRENT_TASK)
macro define CURRENT_ISR 0
macro define CURRENT_ISR (MEM(0x11078) ? MEM(0x38290) : 0)
# GDB hook is very slow; -d debugmsg is much faster
# ./run_canon_fw.sh will use this address, don't delete it
......
......@@ -10,7 +10,7 @@ source -v debug-logging.gdb
macro define CURRENT_TASK 0x27C20
macro define CURRENT_TASK_NAME (((int*)CURRENT_TASK)[0] ? ((char***)CURRENT_TASK)[0][13] : CURRENT_TASK)
macro define CURRENT_ISR 0
macro define CURRENT_ISR (MEM(0xD34C) ? MEM(0x2AFA4) : 0)
# GDB hook is very slow; -d debugmsg is much faster
# ./run_canon_fw.sh will use this address, don't delete it
......
......@@ -10,7 +10,7 @@ source -v debug-logging.gdb
macro define CURRENT_TASK 0x22E00
macro define CURRENT_TASK_NAME (((int*)CURRENT_TASK)[0] ? ((char***)CURRENT_TASK)[0][13] : CURRENT_TASK)
macro define CURRENT_ISR 0
macro define CURRENT_ISR (MEM(0xF050) ? MEM(0x25F80) : 0)
# GDB hook is very slow; -d debugmsg is much faster
# ./run_canon_fw.sh will use this address, don't delete it
......
......@@ -10,7 +10,7 @@ source -v debug-logging.gdb
macro define CURRENT_TASK 0x355C0
macro define CURRENT_TASK_NAME (((int*)CURRENT_TASK)[0] ? ((char***)CURRENT_TASK)[0][13] : CURRENT_TASK)
macro define CURRENT_ISR 0
macro define CURRENT_ISR (MEM(0x114D8) ? MEM(0x385B0) : 0)
# GDB hook is very slow; -d debugmsg is much faster
# ./run_canon_fw.sh will use this address, don't delete it
......
......@@ -14,7 +14,7 @@ source -v debug-logging.gdb
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
macro define CURRENT_ISR (MEM(0x10464) ? MEM(0x2f994) : 0)
# GDB hook is very slow; -d debugmsg is much faster
# ./run_canon_fw.sh will use this address, don't delete it
......
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