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

#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