diff -r 5af6c74cd793 -r af6ec97d9189 kernel/eka/include/u32hal.h --- a/kernel/eka/include/u32hal.h Wed Jun 23 11:59:44 2010 +0100 +++ b/kernel/eka/include/u32hal.h Wed Jun 23 12:52:28 2010 +0100 @@ -2790,6 +2790,59 @@ @see TChanges */ EVMHalSetThrashThresholds, + + /** + Indicate whether the data paging media driver supports access by physical address. + + @return 1 if it does, 0 if it does not and KErrNotSupported if data paging is not enabled. + */ + EVMHalGetPhysicalAccessSupported, + + /** + Indicate whether the data paging media driver currently uses physical access for writing out + dirty data pages to swap. + + @return 1 if it does, 0 if it does not and KErrNotSupported if data paging is not enabled. + */ + EVMHalGetUsePhysicalAccess, + + /** + Set whether physical access is used for writing out dirty data pages to swap. + + The first argument (a1) should contain zero or one to indicate whether to disable or enable + physical access respectively. + + @return KErrNone if successful, KErrNotSupported if data paging is not enabled. + */ + EVMHalSetUsePhysicalAccess, + + /** + Get the data paging media driver's preferred write size. + + @return Log2 of the preferred write size in pages, or KErrNotSupported if data paging is not + enabled. + */ + EVMHalGetPreferredDataWriteSize, + + /** + Get the number of pages that the pager attempts to write at a time when paging out dirty pages + to swap. + + @return Log2 of the current write size in pages, or KErrNotSupported if data paging is not + enabled. + */ + EVMHalGetDataWriteSize, + + /** + Set the number of pages that the pager attempts to write at a time when paging out dirty pages + to swap. + + The first argument (a1) should contain log2 of the write size in pages. + + @return KErrArgument if the value is out of range, or KErrNotSupported if data paging is not + enabled. + */ + EVMHalSetDataWriteSize, };