kernel/eka/include/u32hal.h
changeset 201 43365a9b78a3
parent 152 657f875b013e
child 245 647ab20fee2e
equal deleted inserted replaced
200:73ea206103e6 201:43365a9b78a3
  2788 	
  2788 	
  2789 	@see RChangeNotifier
  2789 	@see RChangeNotifier
  2790 	@see TChanges
  2790 	@see TChanges
  2791 	*/ 
  2791 	*/ 
  2792 	EVMHalSetThrashThresholds,
  2792 	EVMHalSetThrashThresholds,
       
  2793 
       
  2794 	/**
       
  2795 	Indicate whether the data paging media driver supports access by physical address.
       
  2796 
       
  2797 	@return 1 if it does, 0 if it does not and KErrNotSupported if data paging is not enabled.
       
  2798 	*/
       
  2799 	EVMHalGetPhysicalAccessSupported,
       
  2800 
       
  2801 	/**
       
  2802 	Indicate whether the data paging media driver currently uses physical access for writing out
       
  2803 	dirty data pages to swap.
       
  2804 
       
  2805 	@return 1 if it does, 0 if it does not and KErrNotSupported if data paging is not enabled.
       
  2806 	*/
       
  2807 	EVMHalGetUsePhysicalAccess,
       
  2808 
       
  2809 	/**
       
  2810 	Set whether physical access is used for writing out dirty data pages to swap.
       
  2811 
       
  2812 	The first argument (a1) should contain zero or one to indicate whether to disable or enable
       
  2813 	physical access respectively.
       
  2814 	
       
  2815 	@return KErrNone if successful, KErrNotSupported if data paging is not enabled.
       
  2816 	*/
       
  2817 	EVMHalSetUsePhysicalAccess,
       
  2818 
       
  2819 	/**
       
  2820 	Get the data paging media driver's preferred write size.
       
  2821 
       
  2822 	@return Log2 of the preferred write size in pages, or KErrNotSupported if data paging is not
       
  2823 	enabled.
       
  2824 	*/
       
  2825 	EVMHalGetPreferredDataWriteSize,
       
  2826 
       
  2827 	/**
       
  2828 	Get the number of pages that the pager attempts to write at a time when paging out dirty pages
       
  2829 	to swap.
       
  2830 
       
  2831 	@return Log2 of the current write size in pages, or KErrNotSupported if data paging is not
       
  2832 	enabled.
       
  2833 	*/
       
  2834 	EVMHalGetDataWriteSize,
       
  2835 
       
  2836 	/**
       
  2837 	Set the number of pages that the pager attempts to write at a time when paging out dirty pages
       
  2838 	to swap.
       
  2839 	
       
  2840 	The first argument (a1) should contain log2 of the write size in pages.
       
  2841 
       
  2842 	@return KErrArgument if the value is out of range, or KErrNotSupported if data paging is not
       
  2843 	enabled.
       
  2844 	*/
       
  2845 	EVMHalSetDataWriteSize,
  2793 	};
  2846 	};
  2794 
  2847 
  2795 
  2848 
  2796 /**
  2849 /**
  2797 Paging event information.
  2850 Paging event information.