/* This PDC call reads from the Stable Storage address supplied in staddr and copies count bytes to the memory address memaddr. The call will fail if staddr+count > PDC_STABLE size.  */
int pdc_stable_read(unsigned long staddr, void *memaddr, unsigned long count)
/* This PDC call reads from the Stable Storage address supplied in staddr and copies count bytes to the memory address memaddr. The call will fail if staddr+count > PDC_STABLE size.  */
int pdc_stable_read(unsigned long staddr, void *memaddr, unsigned long count)
{
       int retval;
	unsigned long flags;
       spin_lock_irqsave(&pdc_lock, flags);
       retval = mem_pdc_call(PDC_STABLE, PDC_STABLE_READ, staddr,
               __pa(pdc_result), count);
       convert_to_wide(pdc_result);
       memcpy(memaddr, pdc_result, count);
       spin_unlock_irqrestore(&pdc_lock, flags);
       return retval;
}