mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-16 18:45:54 +02:00
libubb/physmem.c (physmem_xlat_vec): rename to physmem_xlat
This commit is contained in:
parent
35d4b9f381
commit
e669a1b2d1
@ -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 */
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user