blob: 25838230806f5b8c69510fc7cda88a26a1ff5f53 (
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
26
27
28
29
|
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2015-2019 Amazon.com, Inc. or its affiliates.
* All rights reserved.
*/
#ifndef ENA_PLAT_H_
#define ENA_PLAT_H_
#if defined(ENA_IPXE)
#include <ena_plat_ipxe.h>
#elif defined(__linux__)
#if defined(__KERNEL__)
#include <ena_plat_linux.h>
#else
#include <ena_plat_dpdk.h>
#endif
#elif defined(__FreeBSD__)
#if defined(_KERNEL)
#include <ena_plat_fbsd.h>
#else
#include <ena_plat_dpdk.h>
#endif
#elif defined(_WIN32)
#include <ena_plat_windows.h>
#else
#error "Invalid platform"
#endif
#endif /* ENA_PLAT_H_ */
|