Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test of merging KMP stuff - ignore #49

Open
wants to merge 37 commits into
base: master
Choose a base branch
from

Conversation

PeterDinda
Copy link
Collaborator

  • Please check if the request fulfills these requirements
  • The commit messages follow our guidelines (See Contributing).
  • The code follows our style guidelines, again see Contributing.
  • If this is a new feature, changes to the core kernel have been minimized.
  • If this feature doesn't touch the core kernel, has it been properly separated out in the Kconfig? and the source tree?
  • If this pull request is for an open issue, the issue is properly referenced.
  • 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:

PeterDinda and others added 30 commits December 28, 2020 16:45
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants