1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2025-04-21 12:27:27 +03:00

libubb/physmem.c: remove physmem_xlat; cache open pagemap fd

To avoid contamination, we open the pagemap file with O_CLOEXEC.
This commit is contained in:
Werner Almesberger
2013-01-16 10:26:51 -03:00
parent 2de15b9aec
commit 35d4b9f381
2 changed files with 9 additions and 21 deletions

View File

@@ -24,7 +24,6 @@ struct physmem_vec {
void *physmem_malloc(size_t size);
void *physmem_calloc(size_t size);
unsigned long physmem_xlat(void *v);
int physmem_xlat_vec(void *v, size_t len,
struct physmem_vec *vec, int vec_len);
int physmem_flush(const void *data, size_t size);