1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-12-26 20:46:46 +02:00

libubb/physmem.c (physmem_xlat_vec): rename to physmem_xlat

This commit is contained in:
Werner Almesberger 2013-01-16 10:29:46 -03:00
parent 35d4b9f381
commit e669a1b2d1
2 changed files with 2 additions and 4 deletions

View File

@ -24,8 +24,7 @@ struct physmem_vec {
void *physmem_malloc(size_t size);
void *physmem_calloc(size_t size);
int physmem_xlat_vec(void *v, size_t len,
struct physmem_vec *vec, int vec_len);
int physmem_xlat(void *v, size_t len, struct physmem_vec *vec, int vec_len);
int physmem_flush(const void *data, size_t size);
#endif /* !UBB_PHYSMEM_H */

View File

@ -130,8 +130,7 @@ static unsigned long xlat_one(int fd, unsigned long vaddr)
}
int physmem_xlat_vec(void *v, size_t len,
struct physmem_vec *vec, int vec_len)
int physmem_xlat(void *v, size_t len, struct physmem_vec *vec, int vec_len)
{
static int fd = -1;
unsigned long vaddr = (unsigned long) v;