2 * Copyright (c) 2013 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
7 #ifndef NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYS_MEMORY_H_
8 #define NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYS_MEMORY_H_ 1
10 #include "native_client/src/include/nacl_base.h"
11 #include "native_client/src/include/portability.h"
12 #include "native_client/src/trusted/service_runtime/include/machine/_types.h"
19 int32_t NaClSysBrk(struct NaClAppThread *natp,
22 int32_t NaClSysMmap(struct NaClAppThread *natp,
30 int32_t NaClSysMmapIntern(struct NaClApp *nap,
36 nacl_abi_off_t offset);
38 int32_t NaClSysMprotectInternal(struct NaClApp *nap,
43 int32_t NaClSysMprotect(struct NaClAppThread *natp,
48 int32_t NaClSysMunmap(struct NaClAppThread *natp,