[profiles] Fix MOBILE assemblies and tests compilation + Rename MOBILE to AOT_HYBRID
[mono-project.git] / mono / utils / mono-mmap-internals.h
blob90695609f0875b608f7c6ad3069b970459e4e86c
1 /*
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.
7 */
9 #ifndef __MONO_UTILS_MMAP_INTERNAL_H__
10 #define __MONO_UTILS_MMAP_INTERNAL_H__
12 #include "mono-compiler.h"
14 void *
15 malloc_shared_area (int pid);
17 char*
18 aligned_address (char *mem, size_t size, size_t alignment);
20 void
21 account_mem (MonoMemAccountType type, ssize_t size);
23 int
24 mono_pages_not_faulted (void *addr, size_t length);
26 #endif /* __MONO_UTILS_MMAP_INTERNAL_H__ */