kernel/eka/include/u32hal.h
branchRCL_3
changeset 256 c1f20ce4abcf
parent 147 bbf8bed59bcb
child 257 3e88ff8f41d5
equal deleted inserted replaced
249:a179b74831c9 256:c1f20ce4abcf
   366 	*/
   366 	*/
   367 	EHalGroupPlatformSpecific2=30
   367 	EHalGroupPlatformSpecific2=30
   368 	};
   368 	};
   369 
   369 
   370 
   370 
       
   371 /**
       
   372 @internalComponent
       
   373 */
       
   374 struct SCpuStates
       
   375 	{
       
   376 	TUint32	iTA;
       
   377 	TUint32 iIA;
       
   378 	TUint32	iCU;
       
   379 	TUint32	iGD;
       
   380 	TInt	iDC;
       
   381 	TUint32	iSC;
       
   382 	TUint32	iRC;
       
   383 	TUint32	iCCS;
       
   384 	TUint8	iPO;
       
   385 	TUint8	iSpare1;
       
   386 	TUint8	iSpare2;
       
   387 	TUint8	iSpare3;
       
   388 	TUint32	iPODC;
       
   389 	TInt	iDS[8];
       
   390 	TUint32	iUDC[8];
       
   391 	TUint32	iUAC[8];
       
   392 	TUint32	iOP[8];
       
   393 	TUint32	iF[8];
       
   394 	};
   371 
   395 
   372 
   396 
   373 /**
   397 /**
   374 @internalComponent
   398 @internalComponent
   375 */
   399 */
   394 	EKernelHalNumLogicalCpus,
   418 	EKernelHalNumLogicalCpus,
   395 	EKernelHalSupervisorBarrier,
   419 	EKernelHalSupervisorBarrier,
   396 	EKernelHalFloatingPointSystemId,
   420 	EKernelHalFloatingPointSystemId,
   397 	EKernelHalLockThreadToCpu,
   421 	EKernelHalLockThreadToCpu,
   398 	EKernelHalConfigFlags,
   422 	EKernelHalConfigFlags,
       
   423 	EKernelHalCpuStates,
       
   424 	EKernelHalSetNumberOfCpus,
   399 	};
   425 	};
   400 
   426 
   401 
   427 
   402 
   428 
   403 
   429 
  2815 
  2841 
  2816 	@return KErrArgument if the value is out of range, or KErrNotSupported if data paging is not
  2842 	@return KErrArgument if the value is out of range, or KErrNotSupported if data paging is not
  2817 	enabled.
  2843 	enabled.
  2818 	*/
  2844 	*/
  2819 	EVMHalSetDataWriteSize,
  2845 	EVMHalSetDataWriteSize,
       
  2846 
       
  2847 	/**
       
  2848 	@internalTechnology
       
  2849 	@test
       
  2850 
       
  2851 	Simulates a paging error in a specified context.
       
  2852 	
       
  2853 	For testing purposes, this causes the paging system to report an error the next time an
       
  2854 	operation occurs that could generate an error with the specified context.
       
  2855 
       
  2856 	The first argument (a1) contains one of the contexts described by TPagingErrorContext.
       
  2857 
       
  2858 	@return KErrArgument if the value is out of range, or KErrNotSupported on memory models that do
       
  2859 	not support this.
       
  2860 	*/
       
  2861 	EVMHalDebugSetFail,
  2820 	};
  2862 	};
  2821 
  2863 
  2822 
  2864 
  2823 /**
  2865 /**
  2824 Paging event information.
  2866 Paging event information.
  3245 
  3287 
  3246 	// do not add new members to this struct, this is a compatability break
  3288 	// do not add new members to this struct, this is a compatability break
  3247 	};
  3289 	};
  3248 
  3290 
  3249 
  3291 
       
  3292 /**
       
  3293 @internalComponent
       
  3294 @test
       
  3295 
       
  3296 Error context information for use by #DPager::EmbedErrorContext and #DPager::ExtractErrorContext.
       
  3297 */
       
  3298 enum TPagingErrorContext
       
  3299 	{
       
  3300 	EPagingErrorContextNone = 0,
       
  3301 	EPagingErrorContextRomRead,
       
  3302 	EPagingErrorContextRomDecompress,
       
  3303 	EPagingErrorContextCodeRead,
       
  3304 	EPagingErrorContextCodeDecompress,
       
  3305 	EPagingErrorContextDataRead,
       
  3306 	EPagingErrorContextDataWrite,
       
  3307 
       
  3308 	EMaxPagingErrorContext
       
  3309 	};
       
  3310 
  3250 
  3311 
  3251 /**
  3312 /**
  3252 @internalComponent
  3313 @internalComponent
  3253 
  3314 
  3254 The set of function-ids that are  associated with the EHalGroupRam
  3315 The set of function-ids that are  associated with the EHalGroupRam