minix/include/sys/vm.h
Thomas Veerman c1a31d53d9 stat.h: remove some big_ types
Change-Id: I84017db3d54edfb823cc52e02d0b07fccb003988
2014-02-18 11:25:01 +01:00

29 lines
432 B
C

#ifndef __SYS_VM_H__
#define __SYS_VM_H__
/*
sys/vm.h
*/
/* MIOCMAP */
struct mapreq
{
void *base;
size_t size;
off_t offset;
int readonly;
};
/* used in ioctl to tty for mapvm map and unmap request. */
struct mapreqvm
{
int flags; /* reserved, must be 0 */
phys_bytes phys_offset;
size_t size;
int readonly;
char reserved[36]; /* reserved, must be 0 */
void *vaddr;
void *vaddr_ret;
};
#endif /* __SYS_VM_H__ */