示例#1
0
int
efi_copyout(vaddr_t va, void *dst, size_t len)
{

	bcopy((void *)efimd_va2pa(va), dst, len);
	return (len);
}
示例#2
0
int
efi_copyout(vaddr_t va, void *dst, size_t len)
{

	memcpy(dst, (void *)efimd_va2pa(va), len);
	return (len);
}
示例#3
0
int
efi_copyin(void *src, vaddr_t va, size_t len)
{

	bcopy(src, (void *)efimd_va2pa(va), len);
	return (len);
}
示例#4
0
int
efi_copyin(void *src, vaddr_t va, size_t len)
{

	memcpy((void *)efimd_va2pa(va), src, len);
	return (len);
}
示例#5
0
int
efi_readin(int fd, vaddr_t va, size_t len)
{

	return (read(fd, (void *)efimd_va2pa(va), len));
}