memory.h: move to public headers
There's no reason not to publish those. Especially if they're needed in other public headers. Change-Id: I7dfc6922fcc0dfc46822ad8a16a375f997b98e84 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1041 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
970601af86
commit
e03861f138
@ -31,8 +31,8 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef SPDK_INTERNAL_MEMORY_H
|
||||
#define SPDK_INTERNAL_MEMORY_H
|
||||
#ifndef SPDK_MEMORY_H
|
||||
#define SPDK_MEMORY_H
|
||||
|
||||
#include "spdk/stdinc.h"
|
||||
|
||||
@ -57,4 +57,4 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* SPDK_INTERNAL_MEMORY_H */
|
||||
#endif /* SPDK_MEMORY_H */
|
@ -41,12 +41,12 @@
|
||||
#include <rte_eal_memconfig.h>
|
||||
|
||||
#include "spdk_internal/assert.h"
|
||||
#include "spdk_internal/memory.h"
|
||||
|
||||
#include "spdk/assert.h"
|
||||
#include "spdk/likely.h"
|
||||
#include "spdk/queue.h"
|
||||
#include "spdk/util.h"
|
||||
#include "spdk/memory.h"
|
||||
#include "spdk/env_dpdk.h"
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
|
@ -37,9 +37,9 @@
|
||||
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/util.h"
|
||||
#include "spdk/memory.h"
|
||||
|
||||
#include "spdk_internal/log.h"
|
||||
#include "spdk_internal/memory.h"
|
||||
|
||||
struct ioat_driver {
|
||||
pthread_mutex_t lock;
|
||||
|
@ -50,13 +50,13 @@
|
||||
#include "spdk/mmio.h"
|
||||
#include "spdk/pci_ids.h"
|
||||
#include "spdk/util.h"
|
||||
#include "spdk/memory.h"
|
||||
#include "spdk/nvme_intel.h"
|
||||
#include "spdk/nvmf_spec.h"
|
||||
#include "spdk/uuid.h"
|
||||
|
||||
#include "spdk_internal/assert.h"
|
||||
#include "spdk_internal/log.h"
|
||||
#include "spdk_internal/memory.h"
|
||||
|
||||
extern pid_t g_spdk_nvme_pid;
|
||||
|
||||
|
@ -42,12 +42,12 @@
|
||||
#include "spdk/likely.h"
|
||||
#include "spdk/string.h"
|
||||
#include "spdk/util.h"
|
||||
#include "spdk/memory.h"
|
||||
#include "spdk/barrier.h"
|
||||
#include "spdk/vhost.h"
|
||||
#include "vhost_internal.h"
|
||||
|
||||
#include "spdk_internal/vhost_user.h"
|
||||
#include "spdk_internal/memory.h"
|
||||
|
||||
static inline void
|
||||
vhost_session_mem_region_calc(uint64_t *previous_start, uint64_t *start, uint64_t *end,
|
||||
|
@ -37,12 +37,11 @@
|
||||
#include "spdk/likely.h"
|
||||
#include "spdk/string.h"
|
||||
#include "spdk/util.h"
|
||||
#include "spdk/memory.h"
|
||||
#include "spdk/barrier.h"
|
||||
#include "spdk/vhost.h"
|
||||
#include "vhost_internal.h"
|
||||
|
||||
#include "spdk_internal/memory.h"
|
||||
|
||||
/* Path to folder where character device will be created. Can be set by user. */
|
||||
static char dev_dirname[PATH_MAX] = "";
|
||||
|
||||
|
@ -33,12 +33,12 @@
|
||||
|
||||
#include "spdk/stdinc.h"
|
||||
|
||||
#include "spdk/memory.h"
|
||||
#include "spdk/mmio.h"
|
||||
#include "spdk/string.h"
|
||||
#include "spdk/env.h"
|
||||
|
||||
#include "spdk_internal/virtio.h"
|
||||
#include "spdk_internal/memory.h"
|
||||
|
||||
struct virtio_hw {
|
||||
uint8_t use_msix;
|
||||
|
@ -41,8 +41,7 @@
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/crc16.h"
|
||||
#include "spdk/endian.h"
|
||||
|
||||
#include "spdk_internal/memory.h"
|
||||
#include "spdk/memory.h"
|
||||
|
||||
#define MAX_DEVS 64
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user