1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kerneltest/f32test/loader/dlltree.txt Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,251 @@
1.4 +# Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +# All rights reserved.
1.6 +# This component and the accompanying materials are made available
1.7 +# under the terms of the License "Eclipse Public License v1.0"
1.8 +# which accompanies this distribution, and is available
1.9 +# at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +#
1.11 +# Initial Contributors:
1.12 +# Nokia Corporation - initial contribution.
1.13 +#
1.14 +# Contributors:
1.15 +#
1.16 +# Description:
1.17 +# \f32test\loader\dlltree.txt
1.18 +# Description file for trees of DLLs and EXEs used for loader testing.
1.19 +# Tree with no data
1.20 +#
1.21 +#
1.22 +
1.23 +Tree0 : Tree1 Tree2
1.24 +Tree1 : Tree3 Tree4
1.25 +Tree2 : Tree5 Tree6
1.26 +Tree3
1.27 +Tree4
1.28 +Tree5
1.29 +Tree6
1.30 +
1.31 +# Tree with data
1.32 +
1.33 +DTree0 D : DTree1 DTree2
1.34 +DTree1 D : DTree3 DTree4
1.35 +DTree2 D : DTree5 DTree6
1.36 +DTree3 D
1.37 +DTree4 D
1.38 +DTree5 D
1.39 +DTree6 D
1.40 +
1.41 +# Tree with some data
1.42 +
1.43 +PDTree0 : Tree2 DTree2
1.44 +
1.45 +
1.46 +# Lattice with no data
1.47 +
1.48 +Lat0 : Lat1 Lat2
1.49 +Lat1 : Lat3
1.50 +Lat2 : Lat3
1.51 +Lat3
1.52 +
1.53 +# Lattice with data
1.54 +
1.55 +DLat0 D : DLat1 DLat2
1.56 +DLat1 D : DLat3
1.57 +DLat2 D : DLat3
1.58 +DLat3 D
1.59 +
1.60 +# Lattice with some data
1.61 +
1.62 +PDLat0 : PDLat1 Lat2
1.63 +PDLat1 D : Lat3
1.64 +
1.65 +
1.66 +# Cycle with no data
1.67 +
1.68 +Cyc0 : Cyc1
1.69 +Cyc1 : Cyc2
1.70 +Cyc2 : Cyc0
1.71 +
1.72 +# Cycle with data
1.73 +
1.74 +DCyc0 D : DCyc1
1.75 +DCyc1 D : DCyc2
1.76 +DCyc2 D : DCyc0
1.77 +
1.78 +# Cycle with some data
1.79 +
1.80 +PDCyc0 : PDCyc1
1.81 +PDCyc1 D : PDCyc2
1.82 +PDCyc2 : PDCyc0
1.83 +
1.84 +
1.85 +# Cycle with spurs, no data
1.86 +
1.87 +CycS0 : CycS1
1.88 +CycS1 : CycS2 Lat0
1.89 +CycS2 : CycS0
1.90 +
1.91 +# Cycle with spurs, data
1.92 +
1.93 +DCycS0 D : DCycS1
1.94 +DCycS1 D : DCycS2 DLat0
1.95 +DCycS2 D : DCycS0
1.96 +
1.97 +# Cycle with spurs, some data
1.98 +
1.99 +PDCycS0 : PDCycS1
1.100 +PDCycS1 : PDCycS2 PDLat0
1.101 +PDCycS2 D : PDCycS0
1.102 +
1.103 +# EXEs
1.104 +
1.105 +Exe0 X
1.106 +Exe1 X F
1.107 +Exe2 X R
1.108 +Exe3 X R F
1.109 +Exe4 X D
1.110 +Exe5 X F D
1.111 +Exe6 X R D
1.112 +Exe7 X R F D
1.113 +
1.114 +# EXE with link to DLL
1.115 +
1.116 +Exe8 X : PDLat0
1.117 +Exe9 X F : PDLat0
1.118 +Exe10 X R : X10Dep0
1.119 +Exe11 X R F : X11Dep0
1.120 +Exe12 X : Rom6
1.121 +
1.122 +X10Dep0 R,Exe10 D
1.123 +X11Dep0 R,Exe11 D
1.124 +
1.125 +# ROM XIP DLLs
1.126 +
1.127 +Rom5 R D : Rom6 Rom3
1.128 +Rom7 R D
1.129 +Rom6 R D : Rom7 Rom8
1.130 +Rom8 R D
1.131 +Rom0 R
1.132 +Rom1 R D
1.133 +Rom2 R D : Rom1
1.134 +Rom3 R D : Rom1 Rom2
1.135 +Rom4 R : Rom1
1.136 +RomCyc0 R D : RomCyc1
1.137 +RomCyc1 R D : RomCyc2
1.138 +RomCyc2 R D : RomCyc0
1.139 +RomCycS0 R : RomCycS1
1.140 +RomCycS1 R : RomCycS2 Rom3
1.141 +RomCycS2 R D : RomCycS0
1.142 +
1.143 +# RAM linking to ROM
1.144 +
1.145 +RamRom0 : Rom1
1.146 +RamRom1 : Lx5
1.147 +RamRom2 : Lx3
1.148 +RamRom3 : Lx4
1.149 +
1.150 +# Link to EXE
1.151 +
1.152 +Lx0 : Exe8
1.153 +Lx1 : Exe10
1.154 +Lx2 : Exe11
1.155 +Lx3 R : Exe10
1.156 +Lx4 R : Exe11
1.157 +Lx5 R : Exe7
1.158 +
1.159 +# ---- Code paging tests ----
1.160 +
1.161 +# paged binaries must be copied to removable media because the block map API
1.162 +# does not support paging from ROM.
1.163 +
1.164 +# bytepair with paged, unpaged subsets
1.165 +
1.166 +GTreeA I : GBTree1 GBNTree2 GBPTree3
1.167 +GBTree1 I B
1.168 +GBNTree2 I B N
1.169 +GBPTree3 I B P
1.170 +
1.171 +# uncompressed with paged, unpaged subsets
1.172 +# GUPNITree4 must be copied to writable media because toolchain should not set both flags
1.173 +
1.174 +GTreeB I : GUTree1 GUNTree2 GUPTree3
1.175 +GUTree1 I U
1.176 +GUNTree2 I U N
1.177 +GUPTree3 I U P
1.178 +
1.179 +# deflate compressed with non-empty paged, unpaged subsets
1.180 +# must copy to writable media because toolchain only supports paging flags with bytepair or uncompressed
1.181 +
1.182 +GTreeC I : GTree1 GNTree2 GPTree3
1.183 +GTree1 I
1.184 +GNTree2 I N
1.185 +GPTree3 I P
1.186 +
1.187 +# paged and unpaged together are corrupt if they have to be acted on
1.188 +
1.189 +GBPNITree B P N I
1.190 +GUPNITree U P N I
1.191 +GPNITree P N I
1.192 +
1.193 +# paged but loaded from nonpageable media
1.194 +
1.195 +GBPVTree B P V
1.196 +
1.197 +# mixed paged / unpaged lattice
1.198 +
1.199 +GLat0 B P I T : DTree1
1.200 +GLat1 B P I D T : Tree2
1.201 +GLat2 N T : GLat1 GLat0
1.202 +GLat3 N T : GLat1 GLat0 GLat2
1.203 +GLat4 B P I D T : GLat1 GLat2 GLat3
1.204 +
1.205 +# paged / unpaged executables
1.206 +
1.207 +GBPExe X B P I T : GLat4
1.208 +GBPDExe X B P I D T : GLat4
1.209 +GBPFExe X B P I F T : GLat4
1.210 +GBPDFExe X B P I D F T : GLat4
1.211 +GBNExe X B N I T : GLat4
1.212 +GBNFExe X B N I F T : GLat4
1.213 +
1.214 +# ---- Data paging tests ----
1.215 +
1.216 +# just add some data paged executables so loading gets OOM tested
1.217 +
1.218 +DataPagedExe1 X PD T
1.219 +DataPagedExe2 X PD D T
1.220 +
1.221 +!TESTCASES
1.222 +
1.223 +ExeLoad: Tree0 DTree0 PDTree0 \
1.224 + Lat0 DLat0 PDLat0 \
1.225 + Cyc0 DCyc0 PDCyc0 \
1.226 + CycS0 DCycS0 PDCycS0 \
1.227 + Rom4 RomCyc0 RomCycS0 \
1.228 + RamRom1 GTreeA GTreeB \
1.229 + GTreeC GLat4
1.230 +
1.231 +DllOOM: Tree0 DTree0 PDTree0 \
1.232 + Lat0 DLat0 PDLat0 \
1.233 + Cyc0 DCyc0 PDCyc0 \
1.234 + CycS0 DCycS0 PDCycS0 \
1.235 + Rom4 RomCyc0 RomCycS0 \
1.236 + RamRom1 GTreeA GTreeB \
1.237 + GTreeC GLat4 GBPVTree
1.238 +
1.239 +MultLoad: \
1.240 + Exe0 RomCyc0 Tree0 Tree0 \
1.241 + Exe2 RomCyc0 Tree0 Tree0 \
1.242 + Exe3 RomCyc0 Tree0 Tree0 \
1.243 + Exe3 DCycS0 Tree0 Tree0 \
1.244 + Exe8 PDCycS0 Tree0 Tree0 \
1.245 + Exe3 DCycS0 Tree0 Tree0 \
1.246 + Exe8 DCycS0 Exe8 PDCycS0 \
1.247 + Exe7 DCycS0 Exe3 DCycS0 \
1.248 + Exe3 DLat0 Exe8 DCycS0 \
1.249 + Tree0 Tree0 Exe3 DCycS0 \
1.250 + Tree0 Tree0 Exe3 DLat0
1.251 +
1.252 +MultLoadTargetOnly: \
1.253 + GBPExe GLat2 GBPExe GLat4 \
1.254 + GBPExe GLat4 GLat3 GLat2