zephyr/include/arch/nios2
Andrew Boie 75617a6380 nios2: map all sys_write* to 32-bit to work around CPU bug
Nios II appears to have an issue with the 'stbio' instruction.

When executing this code:

   0x00400848 <+136>:	stbio	r3,0(r2)

With these registers:

  r2 0x44000c	4456460
  r3 0x3	3

The memory location (which is a memory-mapped register in the
NS16550 IP block) ends up with the value 0x103 instead of 0x3 as
expected. Before the instruction ran, the register had 0 in it.

32-bit version doesn't seem to have this problem, use that
everywhere for now. This issue has been reported to Altera.

Change-Id: I4ff0ff4cc7f9b18006d3f7a777eb292924843644
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-07-15 19:31:11 +00:00
..
arch.h nios2: get CPU features from ALT_CPU_* namespace 2016-07-12 18:09:53 +00:00
asm.h nios2: add minimal crt0.S 2016-05-09 18:09:26 +00:00
asm_inline.h
asm_inline_gcc.h nios2: map all sys_write* to 32-bit to work around CPU bug 2016-07-15 19:31:11 +00:00
linker.ld nios2: support more global pointer scenarios 2016-07-06 18:14:31 +00:00
nios2.h nios2: enable instruction/data caches 2016-07-01 00:34:47 +00:00