aboutsummaryrefslogtreecommitdiff
path: root/py/nlrthumb.S
AgeCommit message (Collapse)Author
2016-06-28py/nlrthumb: Convert NLR thumb funcs from asm to C with inline-asm.Damien George
Now only the bits that really need to be written in assembler are written in it, otherwise C is used. This means that the assembler code no longer needs to know about the global state structure which makes it much easier to maintain.
2015-10-20py/nlrthumb: Make compatible with Cortex-M0 (ARMv6M instr set).Damien George
2015-01-07py: Put all global state together in state structures.Damien George
This patch consolidates all global variables in py/ core into one place, in a global structure. Root pointers are all located together to make GC tracing easier and more efficient.
2015-01-01py: Move global variable nlr_top to one place, in a .c file.Damien George
This reduces dependency on assembler, and allows to consolidate global variables in the future.
2014-11-05py: Fix some macros defines; cleanup some includes.Damien George
2014-09-26py: Clean up nlr*.S to make it easier to read; fix clang .bss error.Damien George
It seems that newer versions of clang don't like the .bss directive, so we don't use it for OSX. Addressing issues #865 and #875.
2014-06-22py: Support arm and thumb ARM ISAs, in addition to thumb2.Paul Sokolovsky
These changes were tested with QEMU, and by few people of real hardware.
2014-05-03Add license header to (almost) all files.Damien George
Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
2014-04-30py: If setjmp NLR implementation is forced, omit native versions.Paul Sokolovsky
2014-04-08Add a check for NULL nlr_top in nlr_jump.Damien George
If no nlr_buf has been pushed, and an nlr_jump is called, then control is transferred to nlr_jump_fail (which should bail out with a fatal error).
2014-03-01nlrthumb.S: Comment out ".cpu cortex-m4", it causes problems on Cortex-A.Paul Sokolovsky
2013-12-30Make "unix" target be crossplatform and support x86, x64, ARM hosts.Paul Sokolovsky