Go to file
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
app app: fix volatile read for GCC >= 4.6 2013-07-25 16:07:51 +02:00
config config: increase MAX_MEMSEG from 32 to 256 2013-07-25 16:07:51 +02:00
examples examples/vmdq_dcb: update 2013-07-25 15:58:01 +02:00
lib lib: minor changes 2013-07-25 16:07:51 +02:00
mk pmac: integration without lib 2013-07-25 16:07:50 +02:00
scripts doc: remove remaining references 2013-07-25 14:42:16 +02:00
tools pci: make it possible to keep devices bound to uio 2013-07-25 15:23:28 +02:00
.gitignore
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
Makefile remove version in all files 2013-07-05 11:59:50 +02:00