nes-proj/cpu
Benoît Thébaudeau 1cd3c9e7e5 cc2538: Initialize .data/.bss using ROM functions
This is safer because the previous code assumed that the start and end
VMAs of .data and .bss were word-aligned, which is not always the case,
so the initialization code could write data outside these sections. The
ROM functions support any address boundary.

This is faster because the ROM functions are ultra optimized, using
realignment and the LDM/STM instructions, which is much better than the
previous simple loops of single word accesses.

This is smaller because the ROM functions don't require to add any code
to the target device other than simple function calls.

This makes the code simpler and more maintainable because standard
functions are not reimplemented and no assembly is used.

Note that this is also faster and smaller than the corresponding
functions from the standard string library.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
2015-05-23 18:50:52 +02:00
..
6502 Merge remote-tracking branch 'upstream/master' 2015-04-26 14:35:40 +02:00
arm Fix aducrf101 builds with GCC 4.9+ 2015-02-16 14:52:05 -05:00
avr Move MAX, MIN and ABS to sys/cc.h 2015-05-18 08:53:17 +02:00
cc26xx Merge pull request #1074 from g-oikonomou/cc26xx/contrib/new-cc26xxware 2015-05-21 10:01:00 +02:00
cc253x Fix clock.h warnings caused by multiple, conflicting documentation blocks of clock functions 2015-02-15 21:48:30 +01:00
cc2430 Fix clock.h warnings caused by multiple, conflicting documentation blocks of clock functions 2015-02-15 21:48:30 +01:00
cc2538 cc2538: Initialize .data/.bss using ROM functions 2015-05-23 18:50:52 +02:00
mc1322x mc1322x: remove rest tutorial 2015-05-14 17:20:46 -04:00
msp430 Merge pull request #809 from cmorty/pull/msp430_gstabs 2015-05-16 11:01:47 +02:00
native Network layer configuration: replace UIP_CONF_* with NETSTACK_CONF_WITH_* 2014-12-01 21:02:57 +01:00
pic32 [cpu/pic32] Removed excess end group 2014-11-10 23:53:33 +01:00
rl78 Move MAX, MIN and ABS to sys/cc.h 2015-05-18 08:53:17 +02:00
stm32w108 Use additive offsets 2015-03-28 17:28:15 +01:00
x86