aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_ishmphy_internal.h
blob: 2bc9911ced8bec977dd6309339653d2e09e26694 (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
25
/* Copyright (c) 2016-2018, Linaro Limited
 * All rights reserved.
 *
 * SPDX-License-Identifier:     BSD-3-Clause
 */

#ifndef _ISHMPHY_INTERNAL_H
#define _ISHMPHY_INTERNAL_H

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>

void *_odp_ishmphy_reserve_single_va(uint64_t len, int fd);
int   _odp_ishmphy_free_single_va(void);
void *_odp_ishmphy_map(int fd, uint64_t size, uint64_t offset, int flags);
int   _odp_ishmphy_unmap(void *start, uint64_t len, int flags);

#ifdef __cplusplus
}
#endif

#endif