Test of merging KMP stuff - ignore#49
Open
PeterDinda wants to merge 37 commits intoHExSA-Lab:masterfrom
Open
Conversation
This makes environment variables available. A default global namespace is also created, but additional namespaces can also be created just in case we want to do this in the future for process-like abstractions
- Create new compatability subtree and move libccompat into it
- Add some functionality to libccompat
- Add kconfig support for enabling/disabling different compat
features
This adds an fsbase field to the thread structure. A child thread inherits the fsbase of its parent. A function allows the thread to change fsbase at any time. The context switch code switches fsbase on a thread context switch. This feature can be Kconfiged off.
… workaround is allocated some space for hw-tls in heap. However this change is not in this patch since it's not decided yet. ------------------------------------------------------------------- major changes in this patch: pthread_mutex_init: mx->kind will fault at original line, changed to default kind setenv: env search returns -1 will result in success by if(-1), set it to ==0; nk_environ: this return char **, but it can't be null/0; allocate dummy space for now; pthread_atfork: not supported and change to return 0, since return -1 will fail openmp runtime; omp/glue.c: add initialization of pthread and env; otherwise openmp can't initialize; omptest.c: the part to detect floating point error is turned off;
- make doprnt work identically to the printk engine - handle negative nan correctly / string bug
de33e27 to
c64410e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Kconfig? and the source tree?What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information: