minix/include/sys/vm.h

26 lines
359 B
C
Raw Normal View History

/*
sys/vm.h
*/
2008-12-11 16:50:33 +01:00
/* MIOCMAP */
struct mapreq
{
void *base;
size_t size;
off_t offset;
int readonly;
};
2008-12-11 15:11:59 +01:00
/* used in ioctl to tty for mapvm map and unmap request. */
struct mapreqvm
{
int flags; /* reserved, must be 0 */
2008-12-11 15:11:59 +01:00
off_t phys_offset;
size_t size;
int readonly;
2008-12-11 15:11:59 +01:00
char reserved[36]; /* reserved, must be 0 */
void *vaddr;
void *vaddr_ret;
};
2008-12-11 15:11:59 +01:00