| 1 | // Licensed to the .NET Foundation under one or more agreements. |
| 2 | // The .NET Foundation licenses this file to you under the MIT license. |
| 3 | // See the LICENSE file in the project root for more information. |
| 4 | |
| 5 | #ifndef __GCENV_UNIX_INL__ |
| 6 | #define __GCENV_UNIX_INL__ |
| 7 | |
| 8 | #include "gcenv.os.h" |
| 9 | |
| 10 | extern uint32_t g_pageSizeUnixInl; |
| 11 | |
| 12 | #define OS_PAGE_SIZE GCToOSInterface::GetPageSize() |
| 13 | |
| 14 | __forceinline uint32_t GCToOSInterface::GetPageSize() |
| 15 | { |
| 16 | return g_pageSizeUnixInl; |
| 17 | } |
| 18 | |
| 19 | #endif // __GCENV_UNIX_INL__ |
| 20 | |