startup/ssmdlldatadefs.rh
author William Roberts <williamr@symbian.org>
Mon, 25 Oct 2010 17:26:54 +0100
changeset 80 3ab0df073c86
parent 13 4f959124999b
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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     1
/*
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     3
* All rights reserved.
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     4
* This component and the accompanying materials are made available
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     6
* which accompanies this distribution, and is available
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     8
*
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     9
* Initial Contributors:
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    11
*
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    12
* Contributors:
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    13
*
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    14
* Description:
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    15
* Resource definitions for dll data parameters used in SsmCmdLists project.
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    16
*
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    17
*/
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    18
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    19
#ifndef SSMDLLDATADEFS_H
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    20
#define SSMDLLDATADEFS_H
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    21
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    22
/**
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    23
* Custom command parameter structure for coop state change command.
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    24
*/
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    25
STRUCT CMD_PARAM_STATE_CHANGE
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    26
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    27
    WORD mainstate = 0;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    28
    WORD substate  = 0;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    29
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    30
/**
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    31
* Custom command parameter structure for wait ps key command.
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    32
*/
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    33
STRUCT CMD_PARAM_WAIT_PS
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    34
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    35
    LONG category = 0;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    36
    LONG key      = 0;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    37
    LONG target   = 0;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    38
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    39
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    40
/**
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    41
* Custom command parameter structure for wait ps key command.
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    42
*/
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    43
STRUCT CMD_PARAM_WAIT_PS_2
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    44
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    45
    LONG category = 0;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    46
    LONG key      = 0;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    47
    LONG target1  = 0;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    48
    LONG target2  = 0;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    49
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    50
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    51
/**
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    52
* Custom command parameter structure for timeout data.
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    53
*/    
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    54
STRUCT CMD_PARAM_TIMEOUT
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    55
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    56
    WORD timeout = 0;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    57
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    58
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    59
#endif // SSMDLLDATADEFS_H
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    60