1/*
2 * Copyright 2022, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef _FBSD_COMPAT_VM_VM_H_
6#define _FBSD_COMPAT_VM_VM_H_
7
8
9#include <KernelExport.h>
10
11
12typedef phys_addr_t vm_paddr_t;
13typedef addr_t vm_offset_t;
14
15typedef void* pmap_t;
16
17
18vm_paddr_t pmap_kextract(vm_offset_t virtualAddress);
19
20#define vtophys(virtualAddress) pmap_kextract((vm_offset_t)(virtualAddress))
21#define vmspace_pmap(...)	NULL
22#define pmap_extract(...)	NULL
23
24
25#endif	/* _FBSD_COMPAT_VM_VM_H_ */
26