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