diff options
author | Maxim Uvarov <maxim.uvarov@linaro.org> | 2018-04-05 18:31:08 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2018-04-09 17:51:53 +0300 |
commit | a430caf661d4a0ad8d69c67dc7a20911e3169a25 (patch) | |
tree | 42b8ce2262f322ac16c9eb7698eae27fb4b271a8 /platform/linux-generic/include/odp_ishmphy_internal.h | |
parent | fbe07de54f3768f32bd39a0ea9aa2a79188b1186 (diff) |
linux-gen: clean up ishm file naming
rename ivshmem related files with _<name> prefix to
odp_<name> for better fix project code style. No code
change, just file renames.
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/odp_ishmphy_internal.h')
-rw-r--r-- | platform/linux-generic/include/odp_ishmphy_internal.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/platform/linux-generic/include/odp_ishmphy_internal.h b/platform/linux-generic/include/odp_ishmphy_internal.h new file mode 100644 index 000000000..05e3fcec7 --- /dev/null +++ b/platform/linux-generic/include/odp_ishmphy_internal.h @@ -0,0 +1,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_book_va(uintptr_t len, intptr_t align); +int _odp_ishmphy_unbook_va(void); +void *_odp_ishmphy_map(int fd, void *start, uint64_t size, int flags); +int _odp_ishmphy_unmap(void *start, uint64_t len, int flags); + +#ifdef __cplusplus +} +#endif + +#endif |