11cb0ef41Sopenharmony_ci// Copyright (C) 2018 Intel Corporation 21cb0ef41Sopenharmony_ci// 31cb0ef41Sopenharmony_ci// Permission is hereby granted, free of charge, to any person obtaining a copy 41cb0ef41Sopenharmony_ci// of this software and associated documentation files (the "Software"), 51cb0ef41Sopenharmony_ci// to deal in the Software without restriction, including without limitation 61cb0ef41Sopenharmony_ci// the rights to use, copy, modify, merge, publish, distribute, sublicense, 71cb0ef41Sopenharmony_ci// and/or sell copies of the Software, and to permit persons to whom 81cb0ef41Sopenharmony_ci// the Software is furnished to do so, subject to the following conditions: 91cb0ef41Sopenharmony_ci// 101cb0ef41Sopenharmony_ci// The above copyright notice and this permission notice shall be included 111cb0ef41Sopenharmony_ci// in all copies or substantial portions of the Software. 121cb0ef41Sopenharmony_ci// 131cb0ef41Sopenharmony_ci// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 141cb0ef41Sopenharmony_ci// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 151cb0ef41Sopenharmony_ci// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 161cb0ef41Sopenharmony_ci// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES 171cb0ef41Sopenharmony_ci// OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 181cb0ef41Sopenharmony_ci// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE 191cb0ef41Sopenharmony_ci// OR OTHER DEALINGS IN THE SOFTWARE. 201cb0ef41Sopenharmony_ci// 211cb0ef41Sopenharmony_ci// SPDX-License-Identifier: MIT 221cb0ef41Sopenharmony_ci 231cb0ef41Sopenharmony_ci#ifndef SRC_LARGE_PAGES_NODE_LARGE_PAGE_H_ 241cb0ef41Sopenharmony_ci#define SRC_LARGE_PAGES_NODE_LARGE_PAGE_H_ 251cb0ef41Sopenharmony_ci 261cb0ef41Sopenharmony_ci#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS 271cb0ef41Sopenharmony_ci 281cb0ef41Sopenharmony_cinamespace node { 291cb0ef41Sopenharmony_ciint MapStaticCodeToLargePages(); 301cb0ef41Sopenharmony_ciconst char* LargePagesError(int status); 311cb0ef41Sopenharmony_ci} // namespace node 321cb0ef41Sopenharmony_ci 331cb0ef41Sopenharmony_ci#endif // NODE_WANT_INTERNALS 341cb0ef41Sopenharmony_ci#endif // SRC_LARGE_PAGES_NODE_LARGE_PAGE_H_ 35