repo.or.cz
/
qemu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ipmi: introduce a struct ipmi_sdr_compact
[qemu.git]
/
include
/
qemu
/
mmap-alloc.h
blob
0899b2f01e97ad30d621f60c20f89b8c26f2af8a
1
#ifndef QEMU_MMAP_ALLOC
2
#define QEMU_MMAP_ALLOC
3
4
#include
"qemu-common.h"
5
6
size_t
qemu_fd_getpagesize
(
int
fd
);
7
8
void
*
qemu_ram_mmap
(
int
fd
,
size_t
size
,
size_t
align
,
bool
shared
);
9
10
void
qemu_ram_munmap
(
void
*
ptr
,
size_t
size
);
11
12
#endif