2 * mono-mmap-internals.h: Internal virtual memory stuff.
4 * Copyright (C) 2014 Xamarin Inc
6 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
9 #ifndef __MONO_UTILS_MMAP_INTERNAL_H__
10 #define __MONO_UTILS_MMAP_INTERNAL_H__
12 #include "mono-compiler.h"
15 malloc_shared_area (int pid);
18 aligned_address (char *mem, size_t size, size_t alignment);
21 account_mem (MonoMemAccountType type, ssize_t size);
24 mono_pages_not_faulted (void *addr, size_t length);
26 #endif /* __MONO_UTILS_MMAP_INTERNAL_H__ */