diff -r a77889bee936 -r 647ab20fee2e kernel/eka/include/u32hal.h --- a/kernel/eka/include/u32hal.h Thu Aug 12 11:55:14 2010 +0100 +++ b/kernel/eka/include/u32hal.h Thu Aug 12 12:51:24 2010 +0100 @@ -2843,6 +2843,22 @@ enabled. */ EVMHalSetDataWriteSize, + + /** + @internalTechnology + @test + + Simulates a paging error in a specified context. + + For testing purposes, this causes the paging system to report an error the next time an + operation occurs that could generate an error with the specified context. + + The first argument (a1) contains one of the contexts described by TPagingErrorContext. + + @return KErrArgument if the value is out of range, or KErrNotSupported on memory models that do + not support this. + */ + EVMHalDebugSetFail, }; @@ -3273,6 +3289,25 @@ }; +/** +@internalComponent +@test + +Error context information for use by #DPager::EmbedErrorContext and #DPager::ExtractErrorContext. +*/ +enum TPagingErrorContext + { + EPagingErrorContextNone = 0, + EPagingErrorContextRomRead, + EPagingErrorContextRomDecompress, + EPagingErrorContextCodeRead, + EPagingErrorContextCodeDecompress, + EPagingErrorContextDataRead, + EPagingErrorContextDataWrite, + + EMaxPagingErrorContext + }; + /** @internalComponent