common upgrades

Change-Id: I567fc15845b601019d346569ecfcef4f89687fd2
This commit is contained in:
2013-01-14 11:36:25 +01:00
parent 65c5a092c1
commit be89757ef5
50 changed files with 22 additions and 65 deletions
+29
View File
@@ -0,0 +1,29 @@
#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 */
off_t phys_offset;
size_t size;
int readonly;
char reserved[36]; /* reserved, must be 0 */
void *vaddr;
void *vaddr_ret;
};
#endif /* __SYS_VM_H__ */