add FreeBSD support
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 10 Feb 2014 11:49:10 +0000 (11:49 +0000)
committerDavid Marchand <david.marchand@6wind.com>
Tue, 25 Feb 2014 20:29:18 +0000 (21:29 +0100)
commit764bf26873b95761ac3bd4b98251d3c497c65a90
treeecb5398d635bca887528343afb3fda368d96b07e
parente9d48c0072d36eb6423b45fba4ec49d0def6c36f
add FreeBSD support

Changes to allow compilation and use on FreeBSD. Includes:
* contigmem and nic_uio driver for FreeBSD
* new EAL instance
* new "bsdapp" compilation target
* various compilation fixes due to differences between linux and freebsd

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
55 files changed:
GNUmakefile [new file with mode: 0644]
Makefile
app/test-pmd/cmdline.c
app/test/commands.c
app/test/process.h
app/test/test_cmdline_ipaddr.c
app/test/test_eal_flags.c
app/test/test_eal_fs.c
app/test/test_errno.c
app/test/test_mp_secondary.c
config/defconfig_x86_64-default-bsdapp-gcc [new file with mode: 0644]
examples/cmdline/commands.c
lib/librte_cmdline/Makefile
lib/librte_cmdline/cmdline_parse_ipaddr.c
lib/librte_cmdline/cmdline_parse_portlist.c
lib/librte_eal/Makefile
lib/librte_eal/bsdapp/Makefile [new file with mode: 0644]
lib/librte_eal/bsdapp/contigmem/BSDmakefile [new file with mode: 0644]
lib/librte_eal/bsdapp/contigmem/Makefile [new file with mode: 0644]
lib/librte_eal/bsdapp/contigmem/contigmem.c [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/Makefile [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/eal.c [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/eal_alarm.c [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/eal_debug.c [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/eal_hugepage_info.c [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/eal_interrupts.c [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/eal_lcore.c [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/eal_log.c [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/eal_memory.c [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/eal_pci.c [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/eal_thread.c [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/eal_timer.c [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/include/eal_filesystem.h [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/include/eal_hugepages.h [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/include/eal_internal_cfg.h [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/include/eal_thread.h [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/include/exec-env/rte_dom0_common.h [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/include/exec-env/rte_kni_common.h [new file with mode: 0755]
lib/librte_eal/bsdapp/eal/include/exec-env/rte_lcore.h [new file with mode: 0644]
lib/librte_eal/bsdapp/eal/include/exec-env/rte_per_lcore.h [new file with mode: 0644]
lib/librte_eal/bsdapp/nic_uio/BSDmakefile [new file with mode: 0644]
lib/librte_eal/bsdapp/nic_uio/Makefile [new file with mode: 0644]
lib/librte_eal/bsdapp/nic_uio/nic_uio.c [new file with mode: 0644]
lib/librte_eal/common/eal_common_errno.c
lib/librte_eal/common/eal_common_log.c
lib/librte_eal/common/include/rte_memory.h
lib/librte_eal/linuxapp/eal/eal_log.c
lib/librte_pmd_pcap/rte_eth_pcap_arg_parser.c
lib/librte_pmd_virtio/virtio_pci.h
mk/arch/x86_64/rte.vars.mk
mk/exec-env/bsdapp/rte.app.mk [new file with mode: 0644]
mk/exec-env/bsdapp/rte.vars.mk [new file with mode: 0644]
mk/rte.bsdmodule.mk [new file with mode: 0644]
mk/rte.sdkbuild.mk