Commit 223c4d56 authored by Ian Douglas Scott's avatar Ian Douglas Scott
Browse files

qemu: add 800D to model_list.c, and add 800D/debugmsg.gdb

--HG--
branch : qemu
parent cc1331663f9c
......@@ -578,6 +578,16 @@ struct eos_model_desc eos_model_list[] = {
.uart_tx_interrupt = 0x16D,
.dedicated_movie_mode = 0,
},
{
.name = "800D",
.digic_version = 7,
.ram_size = 0x40000000, /* 1GB */
.card_led_address = 0xD208016C,
.current_task_addr = 0x20, /* fixme: read from virtual memory */
.uart_rx_interrupt = 0x15D,
.uart_tx_interrupt = 0x16D,
.dedicated_movie_mode = 0,
},
{
.name = "EOSM5",
.digic_version = 7,
......
source -v debug-logging.gdb
macro define CURRENT_TASK 0x1020
macro define CURRENT_ISR (*(int*)0x1004 ? (*(int*)0x1008) : 0)
macro define NUM_CORES 2
# GDB hook is very slow; -d debugmsg is much faster
# ./run_canon_fw.sh will use this address, don't delete it
# b *0xDF006E6C
# DebugMsg_log
b *0xDF008CD6
task_create_log
b *0xE05D4B08
assert_log
b *0xdf00a1ea
CreateStateObject_log
b *0xe04bbf6a
register_func_log
b *0xe042517c
register_interrupt_log
b *0xe05a423a
mpu_recv_log
cont
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