kernel/eka/include/u32hal.h
branchRCL_3
changeset 117 5b5d147c7838
parent 110 c734af59ce98
child 147 bbf8bed59bcb
equal deleted inserted replaced
110:c734af59ce98 117:5b5d147c7838
  2746 	
  2746 	
  2747 	@see RChangeNotifier
  2747 	@see RChangeNotifier
  2748 	@see TChanges
  2748 	@see TChanges
  2749 	*/ 
  2749 	*/ 
  2750 	EVMHalSetThrashThresholds,
  2750 	EVMHalSetThrashThresholds,
       
  2751 
       
  2752 	/**
       
  2753 	Indicate whether the data paging media driver supports access by physical address.
       
  2754 
       
  2755 	@return 1 if it does, 0 if it does not and KErrNotSupported if data paging is not enabled.
       
  2756 	*/
       
  2757 	EVMHalGetPhysicalAccessSupported,
       
  2758 
       
  2759 	/**
       
  2760 	Indicate whether the data paging media driver currently uses physical access for writing out
       
  2761 	dirty data pages to swap.
       
  2762 
       
  2763 	@return 1 if it does, 0 if it does not and KErrNotSupported if data paging is not enabled.
       
  2764 	*/
       
  2765 	EVMHalGetUsePhysicalAccess,
       
  2766 
       
  2767 	/**
       
  2768 	Set whether physical access is used for writing out dirty data pages to swap.
       
  2769 
       
  2770 	The first argument (a1) should contain zero or one to indicate whether to disable or enable
       
  2771 	physical access respectively.
       
  2772 	
       
  2773 	@return KErrNone if successful, KErrNotSupported if data paging is not enabled.
       
  2774 	*/
       
  2775 	EVMHalSetUsePhysicalAccess,
       
  2776 
       
  2777 	/**
       
  2778 	Get the data paging media driver's preferred write size.
       
  2779 
       
  2780 	@return Log2 of the preferred write size in pages, or KErrNotSupported if data paging is not
       
  2781 	enabled.
       
  2782 	*/
       
  2783 	EVMHalGetPreferredDataWriteSize,
       
  2784 
       
  2785 	/**
       
  2786 	Get the number of pages that the pager attempts to write at a time when paging out dirty pages
       
  2787 	to swap.
       
  2788 
       
  2789 	@return Log2 of the current write size in pages, or KErrNotSupported if data paging is not
       
  2790 	enabled.
       
  2791 	*/
       
  2792 	EVMHalGetDataWriteSize,
       
  2793 
       
  2794 	/**
       
  2795 	Set the number of pages that the pager attempts to write at a time when paging out dirty pages
       
  2796 	to swap.
       
  2797 	
       
  2798 	The first argument (a1) should contain log2 of the write size in pages.
       
  2799 
       
  2800 	@return KErrArgument if the value is out of range, or KErrNotSupported if data paging is not
       
  2801 	enabled.
       
  2802 	*/
       
  2803 	EVMHalSetDataWriteSize,
  2751 	};
  2804 	};
  2752 
  2805 
  2753 
  2806 
  2754 /**
  2807 /**
  2755 Paging event information.
  2808 Paging event information.