Esempio n. 1
0
int
uiomem_memory_init(unsigned long *paddr_pmem, size_t *size_pmem)
{
	int ret;
	ret = uiomem_get_phys_memory(paddr_pmem,
			(unsigned long *)size_pmem);
	if (paddr_pmem == PHYS_INVALID)
		return -1;
	return ret;
}
Esempio n. 2
0
int
uiomem_memory_init(unsigned long *paddr_pmem, size_t *size_pmem)
{
	return uiomem_get_phys_memory(paddr_pmem,
			(unsigned long *)size_pmem);
}