Read about our upcoming Code of Conduct on this issue

Commit 4e55ef75 authored by hudson@kremvax.wan's avatar hudson@kremvax.wan
Browse files

Lots of more symbols for 2.0.4 thanks to patchdiff2

parent 74ef64d3a526
/** \file
* Entry points into the firmware image.
* These are the functions that we can call from our tasks
* in the Canon 2.0.4 firmware.
* \todo Sort this file? Generate it from the IDA map?
* Copyright (C) 2010 Trammell Hudson <>
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the
* Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
#define NSTUB(addr,name) \
.global name; \
name = addr
NSTUB( ROMBASEADDR, firmware_entry )
/** These must be found first for any progress to be made */
NSTUB( 0xFF810894, cstart )
NSTUB( 0xFFC456C0, bzero32 ) // called by cstart()
NSTUB( 0xFF811DBC, init_task ) // passed as arg to create_init_task, look for dmSetup
NSTUB( 0xFF817470, create_init_task )
/** Look for the normal printf strings */
NSTUB( 0xFF86AF48, DebugMsg )
/** Task dispatch hook hasn't moved in several versions */
NSTUB( 0x1934, task_dispatch_hook )
/** Find the additioanl version string in GUI_GetFirmVersion */
NSTUB( 0x13420, additional_version )
// Everything below here is not needed for the first boot
/** Camera interface? */
NSTUB( 0xC0220000, camera_engine )
/** Find the shell register commands */
NSTUB( 0xFF81C4DC, register_func )
/** Debugging commands are all registered by name. Search for the strings */
NSTUB( 0xFF86AEC8, dmstart )
NSTUB( 0xFF86B7DC, dumpf )
/** Look in DebugMsg, near the bottom. It calls vsnprintf()
* with a buffer size of 0x4C.
NSTUB( 0xFF9B7164, vsnprintf )
NSTUB( 0xFF86E210, msleep )
NSTUB( 0xFF9B955C, task_create )
NSTUB( 0xFF86AF08, dmstop )
NSTUB( 0xFF9AAAB0, FIO_CreateFile )
NSTUB( 0xFF9AAB58, FIO_CloseFile )
NSTUB( 0xFF9AB14C, FIO_GetFileSize )
NSTUB( 0xFF9AAF98, FIO_WriteFile )
NSTUB( 0xFF9AADE8, FIO_ReadFile )
NSTUB( 0xFF86DE54, give_semaphore )
NSTUB( 0xFF86DD6C, take_semaphore )
NSTUB( 0xFF86BCC4, call )
NSTUB( 0xFF86B294, dm_set_store_level )
NSTUB( 0xFF85F0D4, prop_register_slave )
NSTUB( 0xFF85F20C, prop_request_change )
NSTUB( 0xFF85F04C, prop_deliver )
NSTUB( 0xFF85F1A8, prop_cleanup )
NSTUB( 0xFF86DC0C, create_named_semaphore )
NSTUB( 0xFFA6BD14, gui_task_create )
NSTUB( 0xFF8696BC, LoadCalendarFromRTC )
NSTUB( 0xFF86F150, _malloc )
NSTUB( 0xFF85961C, _audio_ic_write )
NSTUB( 0xFF85944C, _audio_ic_read )
NSTUB( 0xFF85B0C8, sounddev_task )
NSTUB( 0x2360, sounddev )
NSTUB( 0xFF87CBD0, strcpy )
NSTUB( 0xFFA0FD18, ptp_register_handler )
NSTUB( 0xFF92EA48, gui_lock )
NSTUB( 0xFF893CD8, prop_request_icu_auto_poweroff )
NSTUB( 0xFFC455CC, memcpy )
NSTUB( 0xFF86C704, oneshot_timer )
NSTUB( 0xFF81DE08, hotplug_task )
NSTUB( 0x1AA4, hotplug_struct )
NSTUB( 0x1AD8, hotplug_usb_buf )
NSTUB( 0xFF864679, dispcheck )
NSTUB( 0x2762C, bmp_vram_info )
NSTUB( 0x38920, vram_info )
NSTUB( 0xFFA413FC, vram_get_number )
NSTUB( 0xFF8773A4, task_trampoline )
NSTUB( 0x208A4, cf_device )
NSTUB( 0x2BA0, dm_names )
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