kerneltest/e32test/hcr/d_hcrsim_psl.cpp
changeset 47 46fffbe7b5a7
parent 43 96e5fb8b040d
equal deleted inserted replaced
46:0bf4040442f9 47:46fffbe7b5a7
   108 	}
   108 	}
   109 
   109 
   110 TInt HCRTest::GetOverrideRepositoryAddress(TAny*& aAddr)
   110 TInt HCRTest::GetOverrideRepositoryAddress(TAny*& aAddr)
   111 	{
   111 	{
   112 	HCR_FUNC("HCRTest::GetRAMRepositoryAddress");
   112 	HCR_FUNC("HCRTest::GetRAMRepositoryAddress");
       
   113 	// Note: the SMR feature by which we obtain the address of the override
       
   114 	// repository is only supported in the ARM bootstrap, not X86 so this test 
       
   115 	// code may in the future need conditional compilation should it need to
       
   116 	// access the SuperPage SMR field to return KErrNotSupported for __X86__ 
       
   117 	// compilations.
   113 	TInt r = KErrNotSupported;
   118 	TInt r = KErrNotSupported;
   114 	if (PslConfigurationFlags & ETestEnableOverrideRepository)
   119 	if (PslConfigurationFlags & ETestEnableOverrideRepository)
   115 		{
   120 		{
   116 		aAddr = static_cast<TAny*>(&CompiledEmptyRepository);
   121 		aAddr = static_cast<TAny*>(&CompiledEmptyRepository);
   117 		r = KErrNone;
   122 		r = KErrNone;