summaryrefslogtreecommitdiff
path: root/erts/emulator/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'nox/remove-superfluous-echo'Björn-Egil Dahlberg2014-03-281-1/+0
|\ | | | | | | | | * nox/remove-superfluous-echo: Remove a superfluous echo in the emulator Makefile
| * Remove a superfluous echo in the emulator MakefileAnthony Ramine2014-03-091-1/+0
| | | | | | | | It pollutes the output of silent rules.
* | Merge branch 'lukas/ose/master-17.0/OTP-11334'Lukas Larsson2014-03-271-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lukas/ose/master-17.0/OTP-11334: ose: Fix erts assert failed printouts ose: fix for packet_bytes in fd/spawn driver. ose: Prepare slave for running on OSE ose: Fix bug when hunting for signal proxy ose: Implement tcp inet driver for OSE ose: Add ifdefs for HAVE_UDP ose: Yielding has to be done differently for background processes. ose: Print faults in aio sys driver calls ose: Prinout errno when to_erl read fails ose: erlang display goes to ramlog printf ose: Initiate stdin/stdout/stderr ose: Break lmconf into one per load module ose: Reset busy port when pdq empty ose: Restore the owner of the signal
| * | ose: Break lmconf into one per load moduleLukas Larsson2014-03-261-1/+1
| |/
* | Raspberry PI / Android a minimal cross-compile configurationDmitry Kolesnikov2014-03-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable a cross compile Erlang/OTP platform to Android or Raspberry PI using Android NDK. Port emulator and core application to support target HW platform. Exclude any add-on services required for OTP platform deployment into target hardware due to device fragmentation and jail-break requirements. * fix erts/emulator/beam/sys.h Disable redefinition of __noreturn macro * port erts/emulator/sys/unix/erl_child_setup.c Use techniques proposed by https://code.google.com/p/erlang4android to access system properties * fix erts/emulator/sys/unix/erl_unix_sys_ddll.c The static linking of emulator cannot find dlerror(), dlopen() symbols * port erts/emulator/sys/unix/sys.c make path to shell configurable at build time * port erts/etc/common/Makefile.in disable librt for *-linux-androideabi * port erts/lib_src/pthread/ethread.c Use techniques proposed by https://code.google.com/p/erlang4android to disable emulator crash if kernel threads are on. Replace unreliable pthread_sigmask() by sigprocmask() * port lib/erl_interface/src/connect/ei_connect.c Disable call to undefined gethostid() * port lib/erl_interface/src/connect/ei_resolve.c Use gethostbyname_r() on Android platform
* | Merge branch 'lukas/erts/make_deps_fixes/OTP-11784'Lukas Larsson2014-03-181-8/+12
|\ \ | |/ |/| | | | | | | * lukas/erts/make_deps_fixes/OTP-11784: erts: Fix resolve of generated files for depend erts: Move compiler flags generation
| * erts: Fix resolve of generated files for dependLukas Larsson2013-11-011-1/+3
| |
| * erts: Move compiler flags generationLukas Larsson2013-11-011-7/+9
| | | | | | | | | | | | | | Move the call to utils/make_compiler_flags to after _create_dirs to make sure that the dirs are created before we try to generate files in there. This seems to work with parallel make as well, but I cannot find any documentation that says that it should or should not work.
* | Merge branch 'lukas/ose/master/OTP-11334'Lukas Larsson2014-02-241-5/+53
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lukas/ose/master/OTP-11334: (71 commits) erts: Fix unix efile assert ose: Use -O2 when building ose: Expand OSE docs ose: Add dummy ttsl driver ose: Cleanup cleanup of mutex selection defines ose: Polish mmap configure checks ose: Add ose specific x-compile flags ose: Updating fd_driver and spawn_driver for OSE ose: Updating event and signal API for OSE ose: Cleanup of mutex selection defines win32: Compile erl_log.exe ose: Remove uneccesary define ose: Fix ssl configure test for osx erts: Fix sys_msg_dispatcher assert ose: Fix broken doc links ose: Thread priorities configurable from lmconf ose: Yielding the cpu is done "the OSE" way ose: Start using ppdata for tse key ose: Do not use spinlocks on OSE ose: Fix support for crypto ... Conflicts: lib/crypto/c_src/crypto.c
| * | ose: Add dummy ttsl driverLukas Larsson2014-02-241-1/+2
| | |
| * | ose: Fix clearmake compat issueLukas Larsson2014-02-241-1/+3
| | |
| * | ose: Fix various build environment issuesLukas Larsson2014-02-241-2/+10
| | |
| * | ose: Add module that allows interaction with any OSE processLukas Larsson2014-02-241-0/+1
| | | | | | | | | | | | | | | | | | The interface of this module is made to be as generic as possible in order for other IPC mechanisms to mimic it and allow porting of code between different os:es.
| * | Added support for ENEA OSELukas Larsson2014-02-241-4/+40
| | | | | | | | | | | | | | | | | | | | | | | | This port has support for both non-smp and smp. It contains a new way to do io checking in which erts_poll_wait receives the payload of the polled entity. This has implications for all linked-in drivers.
* | | Merge branch 'rickard/otp_version/OTP-11615'Rickard Green2014-02-211-2/+2
|\ \ \ | | | | | | | | | | | | | | | | * rickard/otp_version/OTP-11615: Misc adjustments of OTP version
| * | | Misc adjustments of OTP versionRickard Green2014-02-191-2/+2
| |/ /
* | | erts: Fix dtrace generation on FreeBSDLukas Larsson2014-02-061-2/+1
|/ /
* | Merge branch 'egil/maps/OTP-11616'Björn-Egil Dahlberg2014-01-291-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * egil/maps/OTP-11616: (112 commits) compiler: Add core compile test for maps compiler: Fix core parse for Maps compiler: Fixup #map_pair{} spec erts: Strengthen map_SUITE tests erts: Update maps_fold test to respect maps:fold/3 stdlib: Make maps:fold/3 order-independent erts: Fixup enif_make_map_put on windows erts: Update preloaded erts_internal.beam hipe: Fixup update cerl pretty printer erts: Add map construction to driver API dialyzer: Add maps tests dialyzer: Remove dead code dialyzer: Reflect map_pair core changes in dialyzer hipe: Update cerl pretty printer compiler: Update inliner tests compiler: Squash #c_map_pair_*{} to #c_map_pair{} compiler: Squash #k_map_pair_*{} to #k_map_pair{} preloaded: Fixup export cmp_term in erts_internal erts: Change 'size' argument of enif_get_map_size from int* to size_t* erts: Fix compile error for halfword emulator ...
| * | erts: Initial Map instructions, type and structureBjörn-Egil Dahlberg2014-01-281-1/+1
| | |
* | | Merge branch 'motiejus/tile_mde3/OTP-11635'Lukas Larsson2014-01-281-1/+0
|\ \ \ | |/ / |/| | | | | | | | | | | * motiejus/tile_mde3/OTP-11635: Undefined MALLOC_USE_HASH macro on TileMDE3 Cross-compilation fix for TileraMDE-3.0.1.125620
| * | Cross-compilation fix for TileraMDE-3.0.1.125620Motiejus Jakštys2013-12-151-1/+0
| |/ | | | | | | | | | | | | | | -OPT:Olimit=0 -WOPT:lpre=off:spre=off:epre=off tile-gcc 4.4.3 does not accept these options: cc1: error: unrecognized command line option "-WOPT:lpre=off:spre=off:epre=off"
* | Fix issues with new versioningRickard Green2014-01-091-1/+1
| |
* | Merge branch 'maint'Sverker Eriksson2013-10-151-0/+1
|\ \ | |/ | | | | | | Conflicts: erts/preloaded/ebin/erlang.beam
| * erts: Prepare erl_mmap with tree structures for free seg storageSverker Eriksson2013-09-301-0/+1
| |
* | erts: Add support for static linked-in driversLukas Larsson2013-08-211-10/+32
| | | | | | | | None of the OTP linked-in driver are supported
* | erts: Add option to include nifs staticallyLukas Larsson2013-08-211-6/+30
|/ | | | Both crypto and asn1 are supported.
* erts: Add cflags, ldflags and config.h into executableLukas Larsson2013-07-111-1/+9
|
* Fix receive support in erl_eval with a BEAM moduleAnthony Ramine2013-05-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the low-level BEAM instructions, we can loop over each message in the process queue and removes the first message that matches, without receiving them all to later send them back to itself. The function prim_eval:'receive'/2 is equivalent to the following pseudo-code: 'receive'(F, T) -> RESET MESSAGE QUEUE POINTER, LOOP: case PEEK CURRENT MESSAGE WITH TIMEOUT T of {ok,Msg} -> case F(Msg) of nomatch -> DECREMENT TIMEOUT T, ADVANCE MESSAGE QUEUE POINTER, GOTO LOOP; Result -> RESET MESSAGE QUEUE POINTER, Result end; timeout -> RESET MESSAGE QUEUE POINTER, timeout end. To not break Dialyzer and other tools, we use a stub Erlang module which abstract code is forcefully inserted into prim_inet.erl afterwards compilation.
* Merge branch 'nox/fix-silent-rules/OTP-11111' into maintFredrik Gustafsson2013-05-241-1/+2
|\ | | | | | | | | * nox/fix-silent-rules/OTP-11111: Fix some Makefile rules that didn't support silent rules
| * Fix some Makefile rules that didn't support silent rulesAnthony Ramine2013-04-271-1/+2
| |
* | Merge branch 'rickard/frmptr' into maintRickard Green2013-05-161-3/+10
|\ \ | |/ |/| | | | | | | | | | | * rickard/frmptr: Add 'frmptr' emulator type Conflicts: erts/preloaded/ebin/erlang.beam
| * Add 'frmptr' emulator typeRickard Green2013-04-211-3/+10
| |
* | Add dependency to dtrace header for parallell makePatrik Nyblom2013-03-181-2/+4
|/
* Update copyright yearsBjörn-Egil Dahlberg2013-02-221-1/+1
|
* Remove could not find warningLukas Larsson2013-02-151-1/+1
|
* Include git sha in prompt if availableLukas Larsson2013-02-131-1/+9
| | | | | | | The sha will only be included if there is no tag starting with OTP_R* associated with the sha. This is because we do not want the sha to show on offical releases.
* Implement ./otp_build configure --enable-silent-rulesAnthony Ramine2013-01-151-45/+46
| | | | | | With silent rules, the output of make is less verbose and compilation warnings are easier to spot. Silent rules are disabled by default and can be disabled or enabled at will by make V=0 and make V=1.
* Merge branch 'sverk/egil/r16/new-alloc-header-scheme/OTP-10273'Björn-Egil Dahlberg2012-12-141-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-10415 * sverk/egil/r16/new-alloc-header-scheme/OTP-10273: (42 commits) erts: Make ll main mbc fit into 2pow size erts: Clear entire mseg cache upon request erts: Reduce max heap sizes tests: Refactor away ?line macro in beam_SUITE tests: Fix heap_sizes check tests: Refactor away ?line macro in process_SUITE tests: Use new correct min_bin_vheap_size in test erts: Set super alignment (256kb) and limits for sbct (8Mb) and lmbcs (128Mb) erts: Do not cache segments that are misaligned erts: Add mseg cache for large sbc segments erts: Reintroduce mseg options amcbf and rmcbf erts: Optimize erl_alloc_util.c by substitute MBC_BLK_SZ erts: Fix bug when allocating size near sbc_threshold erts: Make gc sizes fit into MB Carrier blocks erts: Force sbmbc to be disabled in a crude way erts: Fix new header scheme for win64 erts: Fix mseg cache. Malplaced NULL pointer erts: Remove unused mseg options amcbf and rmcbf erts: Use aligned bits as constant in mseg_alloc erts: Don't let zero be considered a power of two ... Conflicts: erts/emulator/test/process_SUITE.erl
| * erts: Remove faked MSEG_ALLOCBjörn-Egil Dahlberg2012-10-311-2/+2
| | | | | | | | | | * Not used except in valgrind but there mseg is disabled completely via Meamin.
* | Merge branch 'rickard/port-optimizations/OTP-10336' into ↵Rickard Green2012-12-071-3/+6
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rickard/r16/port-optimizations/OTP-10336 * rickard/port-optimizations/OTP-10336: Change annotate level for emacs-22 in cerl Update etp-commands Add documentation on communication in Erlang Add support for busy port message queue Add driver callback epilogue Implement true asynchronous signaling between processes and ports Add erl_drv_[send|output]_term Move busy port flag Use rwlock for driver list Optimize management of port tasks Improve configuration of process and port tables Remove R9 compatibility features Use ptab functionality also for ports Prepare for use of ptab functionality also for ports Atomic port state Generalize process table implementation Implement functionality for delaying thread progress from unmanaged threads Conflicts: erts/doc/src/erl_driver.xml erts/doc/src/erlang.xml erts/emulator/beam/beam_bif_load.c erts/emulator/beam/beam_bp.c erts/emulator/beam/beam_emu.c erts/emulator/beam/bif.c erts/emulator/beam/copy.c erts/emulator/beam/erl_alloc.c erts/emulator/beam/erl_alloc.types erts/emulator/beam/erl_bif_info.c erts/emulator/beam/erl_bif_port.c erts/emulator/beam/erl_bif_trace.c erts/emulator/beam/erl_init.c erts/emulator/beam/erl_message.c erts/emulator/beam/erl_port_task.c erts/emulator/beam/erl_process.c erts/emulator/beam/erl_process.h erts/emulator/beam/erl_process_lock.c erts/emulator/beam/erl_trace.c erts/emulator/beam/export.h erts/emulator/beam/global.h erts/emulator/beam/io.c erts/emulator/sys/unix/sys.c erts/emulator/sys/vxworks/sys.c erts/emulator/test/port_SUITE.erl erts/etc/unix/cerl.src erts/preloaded/ebin/erlang.beam erts/preloaded/ebin/prim_inet.beam erts/preloaded/src/prim_inet.erl lib/hipe/cerl/erl_bif_types.erl lib/kernel/doc/src/inet.xml lib/kernel/src/inet.erl
| * Implement true asynchronous signaling between processes and portsRickard Green2012-12-071-2/+4
| |
| * Generalize process table implementationRickard Green2012-12-031-1/+2
| |
* | erts: Remove VxWorks from beam makefileBjörn-Egil Dahlberg2012-07-191-49/+0
| |
* | Merge branch 'maint'Sverker Eriksson2012-07-051-0/+5
|\ \
| * | Workaround gcc bug affecting ARM debug buildSverker Eriksson2012-06-251-0/+5
| | |
* | | Merge branch 'maint'Lukas Larsson2012-06-081-11/+11
|\ \ \ | |/ / | | | | | | | | | | | | * maint: Update to work with space in include path Update to work with whitespace in exec path
| * | Merge branch 'lukas/otp/install_with_whitespace/OTP-10107' into maintLukas Larsson2012-06-081-11/+11
| |\ \ | | | | | | | | | | | | | | | | | | | | * lukas/otp/install_with_whitespace/OTP-10107: Update to work with space in include path Update to work with whitespace in exec path
| | * | Update to work with whitespace in exec pathLukas Larsson2012-06-051-11/+11
| | |/ | | | | | | | | | | | | OTP-10106 OTP-10107
* | | Merge branch 'maint'Lukas Larsson2012-06-041-9/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maint: Remove stale code for hybrid heap and incremental GC Remove the hipe_bifs:show_message_area/0 BIF Remove support for erlang:system_info(global_heaps_size) Remove the erlang:garbage_collect_message_area/0 BIF Remove workarounds for hybrid and shared heaps in test suites Conflicts: erts/doc/src/erlang.xml erts/emulator/beam/erl_message.c erts/emulator/beam/erl_process.c erts/emulator/beam/erl_process.h erts/emulator/hipe/hipe_bif2.tab lib/hipe/cerl/erl_bif_types.erl
| * | Remove stale code for hybrid heap and incremental GCBjörn Gustavsson2012-05-101-9/+1
| |/ | | | | | | | | | | | | | | | | The hybrid heap emulator was last working in the non-SMP R11B run-time system. When the constant pools were introduced in R12B, the hybrid heap emulator was not updated to handle them. At this point, the harm from reduced readability of the code is greater than any potential usefulness of keeping the code.