aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_ishmphy_internal.h
blob: 89178bd4e72238dd159e5b17fa595b0ce6939c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* 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

#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