Merge pull request #3716 from vargaz/unbox-stobj-null
[mono.git] / mono / utils / mono-mmap-internals.h
1 /*
2  * mono-mmap-internals.h: Internal virtual memory stuff.
3  *
4  * Copyright (C) 2014 Xamarin Inc
5  *
6  * Licensed under the MIT license. See LICENSE file in the project root for full license information.
7  */
8
9 #ifndef __MONO_UTILS_MMAP_INTERNAL_H__
10 #define __MONO_UTILS_MMAP_INTERNAL_H__
11
12 #include "mono-compiler.h"
13
14 void *
15 malloc_shared_area (int pid);
16
17 char*
18 aligned_address (char *mem, size_t size, size_t alignment);
19
20 void
21 account_mem (MonoMemAccountType type, ssize_t size);
22
23 int
24 mono_pages_not_faulted (void *addr, size_t length);
25
26 #endif /* __MONO_UTILS_MMAP_INTERNAL_H__ */
27