Home The PMMU functions-handlerThe PMMU functions-handler ClearPageModeClearPageMode GetPageSizeGetPageSize

F.2 GetHdv_inuse

Name: »GetHdv_inuse« - Obtain the activity of the hard disk driver.
 
Number: 4
 
Declaration: UWORD *GetHdv_inuse ( VOID );
 
Description: The call GetHdv_inuse enables one to check whether the hard disk driver is currently in the process of swapping a page from or to RAM.
 
Note: A check of this WORD must be made before the virtual RAM is accessed from an interrupt routine. This is because the hard disk driver may not be interrupted by an access to a non-existing memory page if it is currently offloading another page. If the status WORD is non-zero, the access has to be delayed.
 
Return value: The function returns a pointer to the hdv_inuse WORD.
 
Group: PMMU functions-handler
 
See also: ClearPageMode   GetPageSize   pmem_size   PMMUversion   SetPageMode   vmem_size
 

Home The PMMU functions-handlerThe PMMU functions-handler ClearPageModeClearPageMode GetPageSizeGetPageSize