1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kerneltest/e32test/system/t_prot2a.cpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,378 @@
1.4 +// Copyright (c) 1998-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 +// e32test\system\t_prot2a.cpp
1.18 +//
1.19 +//
1.20 +
1.21 +#include <e32test.h>
1.22 +
1.23 +LOCAL_D TInt TestData1=0xb504f334;
1.24 +LOCAL_D TInt TestArray[128];
1.25 +
1.26 +// put in loads of relocations to give loader something to do
1.27 +LOCAL_C void DummyFunc0() {}
1.28 +LOCAL_C void DummyFunc1() {}
1.29 +LOCAL_C void DummyFunc2() {}
1.30 +LOCAL_C void DummyFunc3() {}
1.31 +LOCAL_C void DummyFunc4() {}
1.32 +LOCAL_C void DummyFunc5() {}
1.33 +LOCAL_C void DummyFunc6() {}
1.34 +LOCAL_C void DummyFunc7() {}
1.35 +LOCAL_C void DummyFunc8() {}
1.36 +LOCAL_C void DummyFunc9() {}
1.37 +LOCAL_C void DummyFunc10() {}
1.38 +LOCAL_C void DummyFunc11() {}
1.39 +LOCAL_C void DummyFunc12() {}
1.40 +LOCAL_C void DummyFunc13() {}
1.41 +LOCAL_C void DummyFunc14() {}
1.42 +LOCAL_C void DummyFunc15() {}
1.43 +LOCAL_C void DummyFunc16() {}
1.44 +LOCAL_C void DummyFunc17() {}
1.45 +LOCAL_C void DummyFunc18() {}
1.46 +LOCAL_C void DummyFunc19() {}
1.47 +LOCAL_C void DummyFunc20() {}
1.48 +LOCAL_C void DummyFunc21() {}
1.49 +LOCAL_C void DummyFunc22() {}
1.50 +LOCAL_C void DummyFunc23() {}
1.51 +LOCAL_C void DummyFunc24() {}
1.52 +LOCAL_C void DummyFunc25() {}
1.53 +LOCAL_C void DummyFunc26() {}
1.54 +LOCAL_C void DummyFunc27() {}
1.55 +LOCAL_C void DummyFunc28() {}
1.56 +LOCAL_C void DummyFunc29() {}
1.57 +LOCAL_C void DummyFunc30() {}
1.58 +LOCAL_C void DummyFunc31() {}
1.59 +LOCAL_C void DummyFunc32() {}
1.60 +LOCAL_C void DummyFunc33() {}
1.61 +LOCAL_C void DummyFunc34() {}
1.62 +LOCAL_C void DummyFunc35() {}
1.63 +LOCAL_C void DummyFunc36() {}
1.64 +LOCAL_C void DummyFunc37() {}
1.65 +LOCAL_C void DummyFunc38() {}
1.66 +LOCAL_C void DummyFunc39() {}
1.67 +LOCAL_C void DummyFunc40() {}
1.68 +LOCAL_C void DummyFunc41() {}
1.69 +LOCAL_C void DummyFunc42() {}
1.70 +LOCAL_C void DummyFunc43() {}
1.71 +LOCAL_C void DummyFunc44() {}
1.72 +LOCAL_C void DummyFunc45() {}
1.73 +LOCAL_C void DummyFunc46() {}
1.74 +LOCAL_C void DummyFunc47() {}
1.75 +LOCAL_C void DummyFunc48() {}
1.76 +LOCAL_C void DummyFunc49() {}
1.77 +LOCAL_C void DummyFunc50() {}
1.78 +LOCAL_C void DummyFunc51() {}
1.79 +LOCAL_C void DummyFunc52() {}
1.80 +LOCAL_C void DummyFunc53() {}
1.81 +LOCAL_C void DummyFunc54() {}
1.82 +LOCAL_C void DummyFunc55() {}
1.83 +LOCAL_C void DummyFunc56() {}
1.84 +LOCAL_C void DummyFunc57() {}
1.85 +LOCAL_C void DummyFunc58() {}
1.86 +LOCAL_C void DummyFunc59() {}
1.87 +LOCAL_C void DummyFunc60() {}
1.88 +LOCAL_C void DummyFunc61() {}
1.89 +LOCAL_C void DummyFunc62() {}
1.90 +LOCAL_C void DummyFunc63() {}
1.91 +LOCAL_C void DummyFunc64() {}
1.92 +LOCAL_C void DummyFunc65() {}
1.93 +LOCAL_C void DummyFunc66() {}
1.94 +LOCAL_C void DummyFunc67() {}
1.95 +LOCAL_C void DummyFunc68() {}
1.96 +LOCAL_C void DummyFunc69() {}
1.97 +LOCAL_C void DummyFunc70() {}
1.98 +LOCAL_C void DummyFunc71() {}
1.99 +LOCAL_C void DummyFunc72() {}
1.100 +LOCAL_C void DummyFunc73() {}
1.101 +LOCAL_C void DummyFunc74() {}
1.102 +LOCAL_C void DummyFunc75() {}
1.103 +LOCAL_C void DummyFunc76() {}
1.104 +LOCAL_C void DummyFunc77() {}
1.105 +LOCAL_C void DummyFunc78() {}
1.106 +LOCAL_C void DummyFunc79() {}
1.107 +LOCAL_C void DummyFunc80() {}
1.108 +LOCAL_C void DummyFunc81() {}
1.109 +LOCAL_C void DummyFunc82() {}
1.110 +LOCAL_C void DummyFunc83() {}
1.111 +LOCAL_C void DummyFunc84() {}
1.112 +LOCAL_C void DummyFunc85() {}
1.113 +LOCAL_C void DummyFunc86() {}
1.114 +LOCAL_C void DummyFunc87() {}
1.115 +LOCAL_C void DummyFunc88() {}
1.116 +LOCAL_C void DummyFunc89() {}
1.117 +LOCAL_C void DummyFunc90() {}
1.118 +LOCAL_C void DummyFunc91() {}
1.119 +LOCAL_C void DummyFunc92() {}
1.120 +LOCAL_C void DummyFunc93() {}
1.121 +LOCAL_C void DummyFunc94() {}
1.122 +LOCAL_C void DummyFunc95() {}
1.123 +LOCAL_C void DummyFunc96() {}
1.124 +LOCAL_C void DummyFunc97() {}
1.125 +LOCAL_C void DummyFunc98() {}
1.126 +LOCAL_C void DummyFunc99() {}
1.127 +LOCAL_C void DummyFunc100() {}
1.128 +LOCAL_C void DummyFunc101() {}
1.129 +LOCAL_C void DummyFunc102() {}
1.130 +LOCAL_C void DummyFunc103() {}
1.131 +LOCAL_C void DummyFunc104() {}
1.132 +LOCAL_C void DummyFunc105() {}
1.133 +LOCAL_C void DummyFunc106() {}
1.134 +LOCAL_C void DummyFunc107() {}
1.135 +LOCAL_C void DummyFunc108() {}
1.136 +LOCAL_C void DummyFunc109() {}
1.137 +LOCAL_C void DummyFunc110() {}
1.138 +LOCAL_C void DummyFunc111() {}
1.139 +LOCAL_C void DummyFunc112() {}
1.140 +LOCAL_C void DummyFunc113() {}
1.141 +LOCAL_C void DummyFunc114() {}
1.142 +LOCAL_C void DummyFunc115() {}
1.143 +LOCAL_C void DummyFunc116() {}
1.144 +LOCAL_C void DummyFunc117() {}
1.145 +LOCAL_C void DummyFunc118() {}
1.146 +LOCAL_C void DummyFunc119() {}
1.147 +LOCAL_C void DummyFunc120() {}
1.148 +LOCAL_C void DummyFunc121() {}
1.149 +LOCAL_C void DummyFunc122() {}
1.150 +LOCAL_C void DummyFunc123() {}
1.151 +LOCAL_C void DummyFunc124() {}
1.152 +LOCAL_C void DummyFunc125() {}
1.153 +LOCAL_C void DummyFunc126() {}
1.154 +LOCAL_C void DummyFunc127() {}
1.155 +LOCAL_C void DummyFunc128() {}
1.156 +LOCAL_C void DummyFunc129() {}
1.157 +LOCAL_C void DummyFunc130() {}
1.158 +LOCAL_C void DummyFunc131() {}
1.159 +LOCAL_C void DummyFunc132() {}
1.160 +LOCAL_C void DummyFunc133() {}
1.161 +LOCAL_C void DummyFunc134() {}
1.162 +LOCAL_C void DummyFunc135() {}
1.163 +LOCAL_C void DummyFunc136() {}
1.164 +LOCAL_C void DummyFunc137() {}
1.165 +LOCAL_C void DummyFunc138() {}
1.166 +LOCAL_C void DummyFunc139() {}
1.167 +LOCAL_C void DummyFunc140() {}
1.168 +LOCAL_C void DummyFunc141() {}
1.169 +LOCAL_C void DummyFunc142() {}
1.170 +LOCAL_C void DummyFunc143() {}
1.171 +LOCAL_C void DummyFunc144() {}
1.172 +LOCAL_C void DummyFunc145() {}
1.173 +LOCAL_C void DummyFunc146() {}
1.174 +LOCAL_C void DummyFunc147() {}
1.175 +LOCAL_C void DummyFunc148() {}
1.176 +LOCAL_C void DummyFunc149() {}
1.177 +LOCAL_C void DummyFunc150() {}
1.178 +LOCAL_C void DummyFunc151() {}
1.179 +LOCAL_C void DummyFunc152() {}
1.180 +LOCAL_C void DummyFunc153() {}
1.181 +LOCAL_C void DummyFunc154() {}
1.182 +LOCAL_C void DummyFunc155() {}
1.183 +LOCAL_C void DummyFunc156() {}
1.184 +LOCAL_C void DummyFunc157() {}
1.185 +LOCAL_C void DummyFunc158() {}
1.186 +LOCAL_C void DummyFunc159() {}
1.187 +LOCAL_C void DummyFunc160() {}
1.188 +LOCAL_C void DummyFunc161() {}
1.189 +LOCAL_C void DummyFunc162() {}
1.190 +LOCAL_C void DummyFunc163() {}
1.191 +LOCAL_C void DummyFunc164() {}
1.192 +LOCAL_C void DummyFunc165() {}
1.193 +LOCAL_C void DummyFunc166() {}
1.194 +LOCAL_C void DummyFunc167() {}
1.195 +LOCAL_C void DummyFunc168() {}
1.196 +LOCAL_C void DummyFunc169() {}
1.197 +LOCAL_C void DummyFunc170() {}
1.198 +LOCAL_C void DummyFunc171() {}
1.199 +LOCAL_C void DummyFunc172() {}
1.200 +LOCAL_C void DummyFunc173() {}
1.201 +LOCAL_C void DummyFunc174() {}
1.202 +LOCAL_C void DummyFunc175() {}
1.203 +LOCAL_C void DummyFunc176() {}
1.204 +LOCAL_C void DummyFunc177() {}
1.205 +LOCAL_C void DummyFunc178() {}
1.206 +LOCAL_C void DummyFunc179() {}
1.207 +LOCAL_C void DummyFunc180() {}
1.208 +LOCAL_C void DummyFunc181() {}
1.209 +LOCAL_C void DummyFunc182() {}
1.210 +LOCAL_C void DummyFunc183() {}
1.211 +LOCAL_C void DummyFunc184() {}
1.212 +LOCAL_C void DummyFunc185() {}
1.213 +LOCAL_C void DummyFunc186() {}
1.214 +LOCAL_C void DummyFunc187() {}
1.215 +LOCAL_C void DummyFunc188() {}
1.216 +LOCAL_C void DummyFunc189() {}
1.217 +LOCAL_C void DummyFunc190() {}
1.218 +LOCAL_C void DummyFunc191() {}
1.219 +LOCAL_C void DummyFunc192() {}
1.220 +LOCAL_C void DummyFunc193() {}
1.221 +LOCAL_C void DummyFunc194() {}
1.222 +LOCAL_C void DummyFunc195() {}
1.223 +LOCAL_C void DummyFunc196() {}
1.224 +LOCAL_C void DummyFunc197() {}
1.225 +LOCAL_C void DummyFunc198() {}
1.226 +LOCAL_C void DummyFunc199() {}
1.227 +LOCAL_C void DummyFunc200() {}
1.228 +LOCAL_C void DummyFunc201() {}
1.229 +LOCAL_C void DummyFunc202() {}
1.230 +LOCAL_C void DummyFunc203() {}
1.231 +LOCAL_C void DummyFunc204() {}
1.232 +LOCAL_C void DummyFunc205() {}
1.233 +LOCAL_C void DummyFunc206() {}
1.234 +LOCAL_C void DummyFunc207() {}
1.235 +LOCAL_C void DummyFunc208() {}
1.236 +LOCAL_C void DummyFunc209() {}
1.237 +LOCAL_C void DummyFunc210() {}
1.238 +LOCAL_C void DummyFunc211() {}
1.239 +LOCAL_C void DummyFunc212() {}
1.240 +LOCAL_C void DummyFunc213() {}
1.241 +LOCAL_C void DummyFunc214() {}
1.242 +LOCAL_C void DummyFunc215() {}
1.243 +LOCAL_C void DummyFunc216() {}
1.244 +LOCAL_C void DummyFunc217() {}
1.245 +LOCAL_C void DummyFunc218() {}
1.246 +LOCAL_C void DummyFunc219() {}
1.247 +LOCAL_C void DummyFunc220() {}
1.248 +LOCAL_C void DummyFunc221() {}
1.249 +LOCAL_C void DummyFunc222() {}
1.250 +LOCAL_C void DummyFunc223() {}
1.251 +LOCAL_C void DummyFunc224() {}
1.252 +LOCAL_C void DummyFunc225() {}
1.253 +LOCAL_C void DummyFunc226() {}
1.254 +LOCAL_C void DummyFunc227() {}
1.255 +LOCAL_C void DummyFunc228() {}
1.256 +LOCAL_C void DummyFunc229() {}
1.257 +LOCAL_C void DummyFunc230() {}
1.258 +LOCAL_C void DummyFunc231() {}
1.259 +LOCAL_C void DummyFunc232() {}
1.260 +LOCAL_C void DummyFunc233() {}
1.261 +LOCAL_C void DummyFunc234() {}
1.262 +LOCAL_C void DummyFunc235() {}
1.263 +LOCAL_C void DummyFunc236() {}
1.264 +LOCAL_C void DummyFunc237() {}
1.265 +LOCAL_C void DummyFunc238() {}
1.266 +LOCAL_C void DummyFunc239() {}
1.267 +LOCAL_C void DummyFunc240() {}
1.268 +LOCAL_C void DummyFunc241() {}
1.269 +LOCAL_C void DummyFunc242() {}
1.270 +LOCAL_C void DummyFunc243() {}
1.271 +LOCAL_C void DummyFunc244() {}
1.272 +LOCAL_C void DummyFunc245() {}
1.273 +LOCAL_C void DummyFunc246() {}
1.274 +LOCAL_C void DummyFunc247() {}
1.275 +LOCAL_C void DummyFunc248() {}
1.276 +LOCAL_C void DummyFunc249() {}
1.277 +LOCAL_C void DummyFunc250() {}
1.278 +LOCAL_C void DummyFunc251() {}
1.279 +LOCAL_C void DummyFunc252() {}
1.280 +LOCAL_C void DummyFunc253() {}
1.281 +LOCAL_C void DummyFunc254() {}
1.282 +LOCAL_C void DummyFunc255() {}
1.283 +LOCAL_C void DummyFunc256() {}
1.284 +LOCAL_C void DummyFunc257() {}
1.285 +LOCAL_C void DummyFunc258() {}
1.286 +LOCAL_C void DummyFunc259() {}
1.287 +LOCAL_C void DummyFunc260() {}
1.288 +LOCAL_C void DummyFunc261() {}
1.289 +LOCAL_C void DummyFunc262() {}
1.290 +LOCAL_C void DummyFunc263() {}
1.291 +LOCAL_C void DummyFunc264() {}
1.292 +LOCAL_C void DummyFunc265() {}
1.293 +LOCAL_C void DummyFunc266() {}
1.294 +LOCAL_C void DummyFunc267() {}
1.295 +LOCAL_C void DummyFunc268() {}
1.296 +LOCAL_C void DummyFunc269() {}
1.297 +LOCAL_C void DummyFunc270() {}
1.298 +LOCAL_C void DummyFunc271() {}
1.299 +LOCAL_C void DummyFunc272() {}
1.300 +LOCAL_C void DummyFunc273() {}
1.301 +LOCAL_C void DummyFunc274() {}
1.302 +LOCAL_C void DummyFunc275() {}
1.303 +LOCAL_C void DummyFunc276() {}
1.304 +LOCAL_C void DummyFunc277() {}
1.305 +LOCAL_C void DummyFunc278() {}
1.306 +LOCAL_C void DummyFunc279() {}
1.307 +LOCAL_C void DummyFunc280() {}
1.308 +LOCAL_C void DummyFunc281() {}
1.309 +LOCAL_C void DummyFunc282() {}
1.310 +LOCAL_C void DummyFunc283() {}
1.311 +LOCAL_C void DummyFunc284() {}
1.312 +LOCAL_C void DummyFunc285() {}
1.313 +LOCAL_C void DummyFunc286() {}
1.314 +LOCAL_C void DummyFunc287() {}
1.315 +LOCAL_C void DummyFunc288() {}
1.316 +LOCAL_C void DummyFunc289() {}
1.317 +LOCAL_C void DummyFunc290() {}
1.318 +LOCAL_C void DummyFunc291() {}
1.319 +LOCAL_C void DummyFunc292() {}
1.320 +LOCAL_C void DummyFunc293() {}
1.321 +LOCAL_C void DummyFunc294() {}
1.322 +LOCAL_C void DummyFunc295() {}
1.323 +LOCAL_C void DummyFunc296() {}
1.324 +LOCAL_C void DummyFunc297() {}
1.325 +LOCAL_C void DummyFunc298() {}
1.326 +LOCAL_C void DummyFunc299() {}
1.327 +
1.328 +typedef void (*PFV)(void);
1.329 +
1.330 +LOCAL_D PFV Relocs[300]=
1.331 + {
1.332 + DummyFunc0, DummyFunc1, DummyFunc2, DummyFunc3, DummyFunc4, DummyFunc5, DummyFunc6, DummyFunc7, DummyFunc8, DummyFunc9,
1.333 + DummyFunc10, DummyFunc11, DummyFunc12, DummyFunc13, DummyFunc14, DummyFunc15, DummyFunc16, DummyFunc17, DummyFunc18, DummyFunc19,
1.334 + DummyFunc20, DummyFunc21, DummyFunc22, DummyFunc23, DummyFunc24, DummyFunc25, DummyFunc26, DummyFunc27, DummyFunc28, DummyFunc29,
1.335 + DummyFunc30, DummyFunc31, DummyFunc32, DummyFunc33, DummyFunc34, DummyFunc35, DummyFunc36, DummyFunc37, DummyFunc38, DummyFunc39,
1.336 + DummyFunc40, DummyFunc41, DummyFunc42, DummyFunc43, DummyFunc44, DummyFunc45, DummyFunc46, DummyFunc47, DummyFunc48, DummyFunc49,
1.337 + DummyFunc50, DummyFunc51, DummyFunc52, DummyFunc53, DummyFunc54, DummyFunc55, DummyFunc56, DummyFunc57, DummyFunc58, DummyFunc59,
1.338 + DummyFunc60, DummyFunc61, DummyFunc62, DummyFunc63, DummyFunc64, DummyFunc65, DummyFunc66, DummyFunc67, DummyFunc68, DummyFunc69,
1.339 + DummyFunc70, DummyFunc71, DummyFunc72, DummyFunc73, DummyFunc74, DummyFunc75, DummyFunc76, DummyFunc77, DummyFunc78, DummyFunc79,
1.340 + DummyFunc80, DummyFunc81, DummyFunc82, DummyFunc83, DummyFunc84, DummyFunc85, DummyFunc86, DummyFunc87, DummyFunc88, DummyFunc89,
1.341 + DummyFunc90, DummyFunc91, DummyFunc92, DummyFunc93, DummyFunc94, DummyFunc95, DummyFunc96, DummyFunc97, DummyFunc98, DummyFunc99,
1.342 + DummyFunc100, DummyFunc101, DummyFunc102, DummyFunc103, DummyFunc104, DummyFunc105, DummyFunc106, DummyFunc107, DummyFunc108, DummyFunc109,
1.343 + DummyFunc110, DummyFunc111, DummyFunc112, DummyFunc113, DummyFunc114, DummyFunc115, DummyFunc116, DummyFunc117, DummyFunc118, DummyFunc119,
1.344 + DummyFunc120, DummyFunc121, DummyFunc122, DummyFunc123, DummyFunc124, DummyFunc125, DummyFunc126, DummyFunc127, DummyFunc128, DummyFunc129,
1.345 + DummyFunc130, DummyFunc131, DummyFunc132, DummyFunc133, DummyFunc134, DummyFunc135, DummyFunc136, DummyFunc137, DummyFunc138, DummyFunc139,
1.346 + DummyFunc140, DummyFunc141, DummyFunc142, DummyFunc143, DummyFunc144, DummyFunc145, DummyFunc146, DummyFunc147, DummyFunc148, DummyFunc149,
1.347 + DummyFunc150, DummyFunc151, DummyFunc152, DummyFunc153, DummyFunc154, DummyFunc155, DummyFunc156, DummyFunc157, DummyFunc158, DummyFunc159,
1.348 + DummyFunc160, DummyFunc161, DummyFunc162, DummyFunc163, DummyFunc164, DummyFunc165, DummyFunc166, DummyFunc167, DummyFunc168, DummyFunc169,
1.349 + DummyFunc170, DummyFunc171, DummyFunc172, DummyFunc173, DummyFunc174, DummyFunc175, DummyFunc176, DummyFunc177, DummyFunc178, DummyFunc179,
1.350 + DummyFunc180, DummyFunc181, DummyFunc182, DummyFunc183, DummyFunc184, DummyFunc185, DummyFunc186, DummyFunc187, DummyFunc188, DummyFunc189,
1.351 + DummyFunc190, DummyFunc191, DummyFunc192, DummyFunc193, DummyFunc194, DummyFunc195, DummyFunc196, DummyFunc197, DummyFunc198, DummyFunc199,
1.352 + DummyFunc200, DummyFunc201, DummyFunc202, DummyFunc203, DummyFunc204, DummyFunc205, DummyFunc206, DummyFunc207, DummyFunc208, DummyFunc209,
1.353 + DummyFunc210, DummyFunc211, DummyFunc212, DummyFunc213, DummyFunc214, DummyFunc215, DummyFunc216, DummyFunc217, DummyFunc218, DummyFunc219,
1.354 + DummyFunc220, DummyFunc221, DummyFunc222, DummyFunc223, DummyFunc224, DummyFunc225, DummyFunc226, DummyFunc227, DummyFunc228, DummyFunc229,
1.355 + DummyFunc230, DummyFunc231, DummyFunc232, DummyFunc233, DummyFunc234, DummyFunc235, DummyFunc236, DummyFunc237, DummyFunc238, DummyFunc239,
1.356 + DummyFunc240, DummyFunc241, DummyFunc242, DummyFunc243, DummyFunc244, DummyFunc245, DummyFunc246, DummyFunc247, DummyFunc248, DummyFunc249,
1.357 + DummyFunc250, DummyFunc251, DummyFunc252, DummyFunc253, DummyFunc254, DummyFunc255, DummyFunc256, DummyFunc257, DummyFunc258, DummyFunc259,
1.358 + DummyFunc260, DummyFunc261, DummyFunc262, DummyFunc263, DummyFunc264, DummyFunc265, DummyFunc266, DummyFunc267, DummyFunc268, DummyFunc269,
1.359 + DummyFunc270, DummyFunc271, DummyFunc272, DummyFunc273, DummyFunc274, DummyFunc275, DummyFunc276, DummyFunc277, DummyFunc278, DummyFunc279,
1.360 + DummyFunc280, DummyFunc281, DummyFunc282, DummyFunc283, DummyFunc284, DummyFunc285, DummyFunc286, DummyFunc287, DummyFunc288, DummyFunc289,
1.361 + DummyFunc290, DummyFunc291, DummyFunc292, DummyFunc293, DummyFunc294, DummyFunc295, DummyFunc296, DummyFunc297, DummyFunc298, DummyFunc299
1.362 + };
1.363 +
1.364 +GLDEF_C TInt E32Main()
1.365 + {
1.366 + if (TestData1!=(TInt)0xb504f334)
1.367 + User::Panic(_L("T_PROT2A 1"),TestData1);
1.368 + TInt i;
1.369 + TInt x=0;
1.370 + for (i=0; i<128; i++)
1.371 + {
1.372 + x|=TestArray[i];
1.373 + }
1.374 + if (x!=0)
1.375 + User::Panic(_L("T_PROT2A 2"),x);
1.376 + for (i=0; i<300; i++)
1.377 + {
1.378 + (*Relocs[i])();
1.379 + }
1.380 + return KErrNone;
1.381 + }