os/kernelhwsrv/kerneltest/f32test/loader/dlltree.txt
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 # Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 # All rights reserved.
     3 # This component and the accompanying materials are made available
     4 # under the terms of the License "Eclipse Public License v1.0"
     5 # which accompanies this distribution, and is available
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 #
     8 # Initial Contributors:
     9 # Nokia Corporation - initial contribution.
    10 #
    11 # Contributors:
    12 #
    13 # Description:
    14 # \f32test\loader\dlltree.txt
    15 # Description file for trees of DLLs and EXEs used for loader testing.
    16 # Tree with no data
    17 # 
    18 #
    19 
    20 Tree0				:	Tree1 Tree2
    21 Tree1				:	Tree3 Tree4
    22 Tree2				:	Tree5 Tree6
    23 Tree3
    24 Tree4
    25 Tree5
    26 Tree6
    27 
    28 # Tree with data
    29 
    30 DTree0		D		:	DTree1 DTree2
    31 DTree1		D		:	DTree3 DTree4
    32 DTree2		D		:	DTree5 DTree6
    33 DTree3		D
    34 DTree4		D
    35 DTree5		D
    36 DTree6		D
    37 
    38 # Tree with some data
    39 
    40 PDTree0				:	Tree2 DTree2
    41 
    42 
    43 # Lattice with no data
    44 
    45 Lat0				:	Lat1 Lat2
    46 Lat1				:	Lat3
    47 Lat2				:	Lat3
    48 Lat3
    49 
    50 # Lattice with data
    51 
    52 DLat0		D		:	DLat1 DLat2
    53 DLat1		D		:	DLat3
    54 DLat2		D		:	DLat3
    55 DLat3		D
    56 
    57 # Lattice with some data
    58 
    59 PDLat0				:	PDLat1 Lat2
    60 PDLat1		D		:	Lat3
    61 
    62 
    63 # Cycle with no data
    64 
    65 Cyc0				:	Cyc1
    66 Cyc1				:	Cyc2
    67 Cyc2				:	Cyc0
    68 
    69 # Cycle with data
    70 
    71 DCyc0		D		:	DCyc1
    72 DCyc1		D		:	DCyc2
    73 DCyc2		D		:	DCyc0
    74 
    75 # Cycle with some data
    76 
    77 PDCyc0				:	PDCyc1
    78 PDCyc1		D		:	PDCyc2
    79 PDCyc2				:	PDCyc0
    80 
    81 
    82 # Cycle with spurs, no data
    83 
    84 CycS0				:	CycS1
    85 CycS1				:	CycS2 Lat0
    86 CycS2				:	CycS0
    87 
    88 # Cycle with spurs, data
    89 
    90 DCycS0		D		:	DCycS1
    91 DCycS1		D		:	DCycS2 DLat0
    92 DCycS2		D		:	DCycS0
    93 
    94 # Cycle with spurs, some data
    95 
    96 PDCycS0				:	PDCycS1
    97 PDCycS1				:	PDCycS2 PDLat0
    98 PDCycS2		D		:	PDCycS0
    99 
   100 # EXEs
   101 
   102 Exe0		X
   103 Exe1		X F
   104 Exe2		X R
   105 Exe3		X R F
   106 Exe4		X D
   107 Exe5		X F D
   108 Exe6		X R D
   109 Exe7		X R F D
   110 
   111 # EXE with link to DLL
   112 
   113 Exe8		X		: PDLat0
   114 Exe9		X F		: PDLat0
   115 Exe10		X R		: X10Dep0
   116 Exe11		X R F	: X11Dep0
   117 Exe12		X		: Rom6
   118 
   119 X10Dep0		R,Exe10 D
   120 X11Dep0		R,Exe11 D
   121 
   122 # ROM XIP DLLs
   123 
   124 Rom5		R D		: Rom6 Rom3
   125 Rom7		R D
   126 Rom6		R D		: Rom7 Rom8
   127 Rom8		R D
   128 Rom0		R
   129 Rom1		R D
   130 Rom2		R D		: Rom1
   131 Rom3		R D		: Rom1 Rom2
   132 Rom4		R		: Rom1
   133 RomCyc0		R D		: RomCyc1
   134 RomCyc1		R D		: RomCyc2
   135 RomCyc2		R D		: RomCyc0
   136 RomCycS0	R 		: RomCycS1
   137 RomCycS1	R 		: RomCycS2 Rom3
   138 RomCycS2	R D		: RomCycS0
   139 
   140 # RAM linking to ROM
   141 
   142 RamRom0				: Rom1
   143 RamRom1				: Lx5
   144 RamRom2				: Lx3
   145 RamRom3				: Lx4
   146 
   147 # Link to EXE
   148 
   149 Lx0					: Exe8
   150 Lx1					: Exe10
   151 Lx2					: Exe11
   152 Lx3			R		: Exe10
   153 Lx4			R		: Exe11
   154 Lx5			R		: Exe7
   155 
   156 # ---- Code paging tests ----
   157 
   158 # paged binaries must be copied to removable media because the block map API
   159 # does not support paging from ROM.
   160 
   161 # bytepair with paged, unpaged subsets
   162 
   163 GTreeA		I		: GBTree1 GBNTree2 GBPTree3
   164 GBTree1		I B
   165 GBNTree2	I B N
   166 GBPTree3	I B P
   167 
   168 # uncompressed with paged, unpaged subsets
   169 # GUPNITree4 must be copied to writable media because toolchain should not set both flags
   170 
   171 GTreeB		I 		: GUTree1 GUNTree2 GUPTree3
   172 GUTree1		I U
   173 GUNTree2	I U N
   174 GUPTree3	I U P
   175 
   176 # deflate compressed with non-empty paged, unpaged subsets
   177 # must copy to writable media because toolchain only supports paging flags with bytepair or uncompressed
   178 
   179 GTreeC		I		: GTree1 GNTree2 GPTree3
   180 GTree1		I
   181 GNTree2		I N
   182 GPTree3		I P
   183 
   184 # paged and unpaged together are corrupt if they have to be acted on
   185 
   186 GBPNITree	B P N I
   187 GUPNITree	U P N I
   188 GPNITree	P N I
   189 
   190 # paged but loaded from nonpageable media
   191 
   192 GBPVTree	B P V
   193 
   194 # mixed paged / unpaged lattice
   195 
   196 GLat0		B P I T		: DTree1
   197 GLat1		B P I D	T	: Tree2
   198 GLat2		N T			: GLat1 GLat0
   199 GLat3		N T			: GLat1 GLat0 GLat2
   200 GLat4		B P I D	T	: GLat1 GLat2 GLat3
   201 
   202 # paged / unpaged executables
   203 
   204 GBPExe		X B P I T		:	GLat4
   205 GBPDExe		X B P I D T		:	GLat4
   206 GBPFExe		X B P I F T		:	GLat4
   207 GBPDFExe	X B P I D F T	:	GLat4
   208 GBNExe		X B N I	T		:	GLat4
   209 GBNFExe		X B N I F T		:	GLat4
   210 
   211 # ---- Data paging tests ----
   212 
   213 # just add some data paged executables so loading gets OOM tested
   214 
   215 DataPagedExe1	X PD T
   216 DataPagedExe2	X PD D T
   217 
   218 !TESTCASES
   219 
   220 ExeLoad:	Tree0		DTree0		PDTree0		\
   221 			Lat0		DLat0		PDLat0		\
   222 			Cyc0		DCyc0		PDCyc0		\
   223 			CycS0		DCycS0		PDCycS0		\
   224 			Rom4		RomCyc0		RomCycS0	\
   225 			RamRom1		GTreeA		GTreeB		\
   226 			GTreeC		GLat4
   227 
   228 DllOOM:		Tree0		DTree0		PDTree0		\
   229 			Lat0		DLat0		PDLat0		\
   230 			Cyc0		DCyc0		PDCyc0		\
   231 			CycS0		DCycS0		PDCycS0		\
   232 			Rom4		RomCyc0		RomCycS0	\
   233 			RamRom1		GTreeA		GTreeB		\
   234 			GTreeC		GLat4		GBPVTree
   235 
   236 MultLoad:														\
   237 			Exe0		RomCyc0		Tree0		Tree0			\
   238 			Exe2		RomCyc0		Tree0		Tree0			\
   239 			Exe3		RomCyc0		Tree0		Tree0			\
   240 			Exe3		DCycS0		Tree0		Tree0			\
   241 			Exe8		PDCycS0		Tree0		Tree0			\
   242 			Exe3		DCycS0		Tree0		Tree0			\
   243 			Exe8		DCycS0		Exe8		PDCycS0			\
   244 			Exe7		DCycS0		Exe3		DCycS0			\
   245 			Exe3		DLat0		Exe8		DCycS0			\
   246 			Tree0		Tree0		Exe3		DCycS0			\
   247 			Tree0		Tree0		Exe3		DLat0
   248 
   249 MultLoadTargetOnly:												\
   250 			GBPExe		GLat2		GBPExe		GLat4			\
   251 			GBPExe		GLat4		GLat3		GLat2