numam-dpdk/app/test
Ivan Boule 85f5ae8b70 app: fix volatile read for GCC >= 4.6
When a memory address must be read, for instance a [mapped] PCI register,
the read value is assigned to a local variable that is not used after,
as for instance:
    x = *((uint8_t *) mem_addr);

Such instructions do not compile with gcc 4.6.
The fix consists in adding the "volatile" attribute to the accessed data type
and to not assign the read value:
    *((volatile uint8_t *) mem_addr);

Signed-off-by: Ivan Boule <ivan.boule@6wind.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2013-07-25 16:07:51 +02:00
..
autotest_data.py pmac: integration without lib 2013-07-25 16:07:50 +02:00
autotest_runner.py app: rework autotest.py 2013-07-25 15:54:17 +02:00
autotest_test_funcs.py app: rework autotest.py 2013-07-25 15:54:17 +02:00
autotest.py app: rework autotest.py 2013-07-25 15:54:17 +02:00
commands.c pmac: integration without lib 2013-07-25 16:07:50 +02:00
Makefile pmac: integration without lib 2013-07-25 16:07:50 +02:00
process.h remove version in all files 2013-07-05 11:59:50 +02:00
test_alarm.c app: cosmetic 2013-07-25 15:54:18 +02:00
test_atomic.c app: cosmetic 2013-07-25 15:54:18 +02:00
test_byteorder.c remove version in all files 2013-07-05 11:59:50 +02:00
test_cmdline_cirbuf.c cmdline: tests 2013-07-25 15:01:58 +02:00
test_cmdline_etheraddr.c cmdline: tests 2013-07-25 15:01:58 +02:00
test_cmdline_ipaddr.c cmdline: tests 2013-07-25 15:01:58 +02:00
test_cmdline_lib.c cmdline: tests 2013-07-25 15:01:58 +02:00
test_cmdline_num.c cmdline: tests 2013-07-25 15:01:58 +02:00
test_cmdline_portlist.c cmdline: tests 2013-07-25 15:01:58 +02:00
test_cmdline_string.c cmdline: tests 2013-07-25 15:01:58 +02:00
test_cmdline.c cmdline: tests 2013-07-25 15:01:58 +02:00
test_cmdline.h cmdline: tests 2013-07-25 15:01:58 +02:00
test_cpuflags.c remove version in all files 2013-07-05 11:59:50 +02:00
test_cycles.c app: cosmetic 2013-07-25 15:54:18 +02:00
test_debug.c app: various tests update 2013-07-25 15:54:18 +02:00
test_eal_flags.c app: add new tests on eal flags 2013-07-25 15:54:18 +02:00
test_eal_fs.c lib: sysfs parsing 2013-07-25 15:01:57 +02:00
test_errno.c app: various tests update 2013-07-25 15:54:18 +02:00
test_func_reentrancy.c app: add reentrancy tests 2013-07-25 15:54:17 +02:00
test_hash_perf.c app: split performance tests 2013-07-25 15:54:17 +02:00
test_hash.c app: split performance tests 2013-07-25 15:54:17 +02:00
test_interrupts.c remove version in all files 2013-07-05 11:59:50 +02:00
test_logs.c remove version in all files 2013-07-05 11:59:50 +02:00
test_lpm_routes.h app: change route table for lpm 2013-07-25 15:54:17 +02:00
test_lpm.c app: various tests update 2013-07-25 15:54:18 +02:00
test_malloc.c app: various tests update 2013-07-25 15:54:18 +02:00
test_mbuf.c app: various tests update 2013-07-25 15:54:18 +02:00
test_memcpy_perf.c app: split performance tests 2013-07-25 15:54:17 +02:00
test_memcpy.c app: split performance tests 2013-07-25 15:54:17 +02:00
test_memory.c app: fix volatile read for GCC >= 4.6 2013-07-25 16:07:51 +02:00
test_mempool_perf.c app: split performance tests 2013-07-25 15:54:17 +02:00
test_mempool.c app: split performance tests 2013-07-25 15:54:17 +02:00
test_memzone.c app: various tests update 2013-07-25 15:54:18 +02:00
test_mp_secondary.c app: various tests update 2013-07-25 15:54:18 +02:00
test_pci.c app: update test pci device ids 2013-07-25 15:54:18 +02:00
test_per_lcore.c remove version in all files 2013-07-05 11:59:50 +02:00
test_pmac_acl.c pmac: integration without lib 2013-07-25 16:07:50 +02:00
test_pmac_acl.h pmac: integration without lib 2013-07-25 16:07:50 +02:00
test_pmac_pm.c pmac: integration without lib 2013-07-25 16:07:50 +02:00
test_pmac_pm.h pmac: integration without lib 2013-07-25 16:07:50 +02:00
test_prefetch.c remove version in all files 2013-07-05 11:59:50 +02:00
test_ring.c ring: add burst API 2013-07-25 15:23:27 +02:00
test_rwlock.c remove version in all files 2013-07-05 11:59:50 +02:00
test_spinlock.c memory: fix for multi process support 2013-07-25 15:23:27 +02:00
test_string_fns.c remove version in all files 2013-07-05 11:59:50 +02:00
test_tailq.c lib: update tailq api 2013-07-25 15:01:57 +02:00
test_timer.c remove version in all files 2013-07-05 11:59:50 +02:00
test_version.c remove version in all files 2013-07-05 11:59:50 +02:00
test.c app: add new tests on eal flags 2013-07-25 15:54:18 +02:00
test.h pmac: integration without lib 2013-07-25 16:07:50 +02:00