Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
magic-lantern
magic-lantern
Commits
59e4e3c2e309
Commit
223c4d56
authored
Jul 14, 2018
by
Ian Douglas Scott
Browse files
qemu: add 800D to model_list.c, and add 800D/debugmsg.gdb
--HG-- branch : qemu
parent
cc1331663f9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
contrib/qemu/eos/model_list.c
View file @
59e4e3c2
...
...
@@ -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
,
...
...
contrib/qemu/scripts/800D/debugmsg.gdb
0 → 100644
View file @
59e4e3c2
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment