repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
kernel: maintain stack alignment
[minix3.git]
/
include
/
sys
/
vm.h
blob
e60ce198f833d7083522fe6a58356849536fd696
1
#ifndef __SYS_VM_H__
2
#define __SYS_VM_H__
3
4
/*
5
sys/vm.h
6
*/
7
8
/* MIOCMAP */
9
struct
mapreq
10
{
11
void
*
base
;
12
size_t
size
;
13
off_t offset
;
14
int
readonly
;
15
};
16
17
/* used in ioctl to tty for mapvm map and unmap request. */
18
struct
mapreqvm
19
{
20
int
flags
;
/* reserved, must be 0 */
21
off_t phys_offset
;
22
size_t
size
;
23
int
readonly
;
24
char
reserved
[
36
];
/* reserved, must be 0 */
25
void
*
vaddr
;
26
void
*
vaddr_ret
;
27
};
28
29
#endif
/* __SYS_VM_H__ */