startup/ssmcmdlists.mmp
author William Roberts <williamr@symbian.org>
Mon, 25 Oct 2010 17:26:54 +0100
changeset 80 3ab0df073c86
parent 13 4f959124999b
child 84 dccd79965400
permissions -rw-r--r--
Add support for "slim", which is "stem" + removal of some exports and checking of import details For this to work, the static_dependencies.txt file needs to contain the augmented dependency information. To help with this, it can now consume a mixture of both rom_content.csv lines and static_dependencies.txt lines: the best way to update the information would be something like (edit rom_content.csv to add "slim" to XXX.dll) findstr /i "xxx.dll" rom_content.csv > slim.txt findstr /i "xxx.dll" static_dependencies.txt >> slim.txt perl ..\tools\static_dependencies.pl -u static_dependencies.txt slim.txt > new_dependencies.txt This will notice the "slim" marking for xxx.dll, and record the detailed import and export lists for xxx.dll and everything which links to it. The new information will look something like sys\bin\xxx.dll /epoc32/release/armv5/urel/stem_xxx.dll exports=1-98.100-102:euser[100039e5].dll sys\bin\yyy.dll /epoc32/release/armv5/urel/yyy.dll euser[100039e5].dll:xxx[102750c7].dll@2.4-5.77.104-106:scppnwdl.dll sys\bin\zzz.dll /epoc32/release/armv5/urel/zzz.dll euser[100039e5].dll:xxx[102750c7].dll@23.25.74-77:scppnwdl.dll Only executables for which there is a "slim" marking will have this level of detail. The filtering script now does the detailed cross-checking of imports to exports for "slim" executables. In this case, it will observe the stem_xxx.dll does not export ordinal 104, and so the filtering will include deleting sys\bin\yyy.dll (xxx.dll Missing ordinal 104) sys\bin\zzz.dll will be acceptable, because it only uses ordinals which are still present in stem_xxx.dll

/*
* Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
* Project definition file for project SsmCmdLists - based on sf/os/devicesrv/sysstatemgmt/ssmcmdlists
*
*/

TARGETTYPE      NONE

USERINCLUDE /sf/os/devicesrv/sysstatemgmt/ssmpolicyplugins/inc

// Command lists for startup state(s)

START RESOURCE  stem_preuiservicescmdlist.rss        // Pre-UI-Services startup state
TARGETPATH      /private/2000d75b/startup/0          // Private directory of sysstatemgr.exe
END

START RESOURCE  stem_uiservicescmdlist.rss           // Starting UI-Services startup state for minimal bootup
TARGETPATH      /private/2000d75b/startup/0          // Private directory of sysstatemgr.exe
END

START RESOURCE  stem_criticalappscmdlist.rss         // Starting Critical Apps startup state
TARGETPATH      /private/2000d75b/startup/0          // Private directory of sysstatemgr.exe
END

START RESOURCE  stem_selftestokcmdlist.rss           // Selftest Ok startup state
TARGETPATH      /private/2000d75b/startup/0          // Private directory of sysstatemgr.exe
END

START RESOURCE  stem_alarm_charging.rss              // Command lists for alarm, charging and related startup states
TARGETPATH      /private/2000d75b/startup/0          // Private directory of sysstatemgr.exe
END

START RESOURCE  stem_securitycheckcmdlist.rss        // Security Check startup state
TARGETPATH      /private/2000d75b/startup/0          // Private directory of sysstatemgr.exe
END

START RESOURCE  stem_noncriticalcmdlist.rss          // Non-critical startup state for minimal bootup
TARGETPATH      /private/2000d75b/startup/0          // Private directory of sysstatemgr.exe
END

START RESOURCE  stem_emergencycallsonlycmdlist.rss   // Emergency Calls Only startup state
TARGETPATH      /private/2000d75b/startup/0          // Private directory of sysstatemgr.exe
END

START RESOURCE  stem_noncriticalcmdlist_ext.rss      // Non-critical startup state for extended bootup
TARGETPATH      /private/2000d75b/startup/0_ext      // Private directory of sysstatemgr.exe
END

START RESOURCE  stem_uiservicescmdlist_ext.rss       // Starting UI-Services startup state for extended bootup
TARGETPATH      /private/2000d75b/startup/0_ext      // Private directory of sysstatemgr.exe
END

// Command lists specific to HW

START RESOURCE  stem_wserv_hw.rss                    // Window server command list (HW version)
TARGETPATH      /private/2000d75b/hw                 // Private directory of sysstatemgr.exe
END

START RESOURCE  stem_usbwatcher_hw.rss               // USB Watcher command list
TARGETPATH      /private/2000d75b/hw                 // Private directory of sysstatemgr.exe
END

START RESOURCE  stem_noncriticalcmdlist_hw.rss       // Non-critical startup state (HW-specific additions)
TARGETPATH      /private/2000d75b/hw                 // Private directory of sysstatemgr.exe
END

// Command lists for fail state

START RESOURCE  stem_failcmdlist.rss                 // Command list for fail state
TARGETPATH      /private/2000d75b/fail               // Private directory of sysstatemgr.exe
END

// Command lists for shutdown states

START RESOURCE  stem_shutdowncmdlists.rss            // Command lists for shutdown states
TARGETPATH      /private/2000d75b/shutdown           // Private directory of sysstatemgr.exe
END

// Command lists for SWPs

START RESOURCE  stem_rfswpcmdlists.rss               // RF status SWP
TARGETPATH      /private/2000d75b/rfstatusswpcmdlist // Private directory of sysstatemgr.exe
END

START RESOURCE  stem_uiswpcmdlists.rss               // UI phase SWP
TARGETPATH      /private/2000d75b/swpui              // Private directory of sysstatemgr.exe
END

START RESOURCE  stem_noncriticalswpcmdlists.rss       // noncritical phase SWP
TARGETPATH      /private/2000d75b/swpnoncritical      // Private directory of sysstatemgr.exe
END

OS_LAYER_SYSTEMINCLUDE

SMPSAFE