aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/ishmphy_internal.h
blob: f979825c5697e7b9ecb48c90346f0c567016b611 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright (c) 2016-2018 Linaro Limited
 */

#ifndef _ISHMPHY_INTERNAL_H_
#define _ISHMPHY_INTERNAL_H_

#ifdef __cplusplus
extern "C" {
#endif

void *_ishmphy_book_va(uint64_t len);
int _ishmphy_unbook_va(void);
void *_ishmphy_map(int fd, void *start, uint64_t size,
		   int flags, int mmap_flags);
int _ishmphy_unmap(void *start, uint64_t len, int flags);

#ifdef __cplusplus
}
#endif

#endif