Fandom

Magic Lantern Firmware Wiki

2.0.4 TOPLEVEL startupPrepareCapture

328pages on
this wiki
Add New Page
Talk0 Share



Parent1 : http://magiclantern.wikia.com/wiki/2.0.4_AJ

Parent2 : http://magiclantern.wikia.com/wiki/2.0.4_TOP_Level_routines


AJ_StartupPrepareCapture()Edit

This routine is located at 0xFF814350 in 2.0.4


AJ_startupPrepareCapture() Description
AJ_startupPrepareCapture_n_FCACHE()

Malloc of FC memory was done in AJ_startupPrepareProperty()


This sub creates a task called "FileCache" that calls an aptly named AJ_FCACHE_massive_Jtbl()

AJ_FCACHE_ClearCacheList()
AJ_RscMgr_shootstorage_related()

Allocate 0x1DC bytes for shootStorage_struct

Creates a task called "RscMgr" that calls AJ_TryReceiveMessageQueue_task()

Create SRM_StateObject

Create a "MEMORY_QUEUE_SRM" and a "STORAGE_QUEUE_SRM"

Calls TH_prop_register_slave()

Calls AJ_EventMgr.c() to setup AutoPowerOff <guess>

AJ_RscMgr_create_task_class_p1()


AJ_RscMgr_create_task_class_p2()

AJ_RscWrap_pfAllocMemoryCBR() "InitializeResourceWrapper"
AJ_PROPAD_GetPropertyData() Calls AJ_JOB_InitializeJobClass()
AJ_guess_object_or_header_activity()
AJ_DryOS_startup()
AJ_SCS_Initialize()
AJ_SBS_Initialize() Shot Black Related
AJ_SPS_Initialize() ShootPreDevelop and init StateObject
AJ_FM_RegisterNumberNotifyCallback()
AJ_startupPrepareRemote() AJ to come back and fill this in. Lots happening
AJ_FM_Prepare()
AJ_TOM_Initialize()
AJ_FSS_Initialize()

NB: The firmware reports both FCS and FSS initialisation as FCS initialise.


I've renamed this one to FSS .. as that what it's state object is called.

AJ_calls_AJ_fcsExifMacCreate_related()


AJ_calls2_AJ_fcsExifMacCreate_related()

AJ_MainMessQueue_n_MainControlTask_n_hotplugInit_n_MPU_n_AJ_MainCtrl()

This calls AJ_MainCntl() which loop forever
Probably doing all the main stuff

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki