v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
ios-headers.h
Go to the documentation of this file.
1// Copyright 2023 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_BASE_IOS_HEADERS_H_
6#define V8_BASE_IOS_HEADERS_H_
7
8// This file includes the necessary headers that are not part of the
9// iOS public SDK in order to support memory allocation on iOS.
10
11#include <mach/mach.h>
12#include <mach/vm_map.h>
13
14__BEGIN_DECLS
15
16kern_return_t mach_vm_remap(
17 vm_map_t target_task, mach_vm_address_t* target_address,
18 mach_vm_size_t size, mach_vm_offset_t mask, int flags, vm_map_t src_task,
19 mach_vm_address_t src_address, boolean_t copy, vm_prot_t* cur_protection,
20 vm_prot_t* max_protection, vm_inherit_t inheritance);
21
22kern_return_t mach_vm_map(vm_map_t target_task, mach_vm_address_t* address,
23 mach_vm_size_t size, mach_vm_offset_t mask, int flags,
24 mem_entry_name_port_t object,
25 memory_object_offset_t offset, boolean_t copy,
26 vm_prot_t cur_protection, vm_prot_t max_protection,
27 vm_inherit_t inheritance);
28
29__END_DECLS
30
31#endif // V8_BASE_IOS_HEADERS_H_
int32_t offset
__BEGIN_DECLS kern_return_t mach_vm_remap(vm_map_t target_task, mach_vm_address_t *target_address, mach_vm_size_t size, mach_vm_offset_t mask, int flags, vm_map_t src_task, mach_vm_address_t src_address, boolean_t copy, vm_prot_t *cur_protection, vm_prot_t *max_protection, vm_inherit_t inheritance)
kern_return_t mach_vm_map(vm_map_t target_task, mach_vm_address_t *address, mach_vm_size_t size, mach_vm_offset_t mask, int flags, mem_entry_name_port_t object, memory_object_offset_t offset, boolean_t copy, vm_prot_t cur_protection, vm_prot_t max_protection, vm_inherit_t inheritance)
uint32_t const mask