summaryrefslogtreecommitdiffstatshomepage
path: root/unix/alloc.c
Commit message (Collapse)AuthorAge
* unix: Convert mp_uint_t to size_t in alloc.c.Pavol Rusnak2017-03-31
|
* unix/alloc: Make coverage build and its overzealous warnings happy.Paul Sokolovsky2016-06-18
|
* unix/alloc: Add option to use uPy's alloc-exec implementation even for libffi.Paul Sokolovsky2016-06-18
| | | | | | | | | | | | | When built for Linux, libffi includes very bloated and workaround exec-alloc implementation required to work around SELinux and other "sekuritee" features which real people don't use. MicroPython has own alloc-exec implementation, used to alloc memory for @micropython.native code. With this option enabled, uPy's implementation will override libffi's. This saves 11K on x86_64 (and that accounts for more than half of the libffi code size). TODO: Possibly, we want to refactor this option to allow either use uPy's implementation even for libffi, or allow to use libffi's implementation even for uPy.
* unix: Add target to build "minimal" uPy interpreter.Damien George2015-01-16
|
* py, unix: Trace root pointers with native emitter under unix port.Damien George2015-01-14
| | | | | | Native code has GC-heap pointers in it so it must be scanned. But on unix port memory for native functions is mmap'd, and so it must have explicit code to scan it for root pointers.
* Code style/whitespace cleanup; remove obsolete headers.Damien George2014-09-03
| | | | And move the MAP_ANON redefinition from py/asmx64.c to unix/alloc.c.
* Add cache flush in py/asmarm.c and add new MP_PLAT_ALLOC_EXEC and ↵Fabian Vogt2014-09-03
MP_PLAT_FREE_EXEC macros Fixes issue #840