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

prepare kernel to use it as monolithic kernel #1069

Merged
merged 10 commits into from
Feb 19, 2024
Merged

Conversation

stlankes
Copy link
Contributor

@stlankes stlankes commented Feb 16, 2024

  • currently, only x86 is supported
  • add system call interface and system call table, which includes function pointer to the implementations
  • save GS register during a context switch
  • swap GS register, if the user spaces is interrupted
  • introduce privilege level for the the user-space
  • create for every process an own page table

@stlankes stlankes marked this pull request as draft February 16, 2024 13:34
@stlankes stlankes force-pushed the common branch 4 times, most recently from 3476bb7 to 85e2220 Compare February 16, 2024 14:44
@stlankes stlankes marked this pull request as ready for review February 16, 2024 15:25
@stlankes stlankes requested a review from mkroening February 16, 2024 15:25
- currently, only x86 is supported
- add system call interface and system call table, which includes
  function pointer to the implementations
- save GS register during a context switch
- swap GS register, if the user spaces is interrupted
- introduce privilege level dor the the user-space
- create for every process an own page table
Currently, all tasks / threads share the same hash map.
In the future, a process is able to create their own hash map.
Copy link
Member

@mkroening mkroening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@mkroening mkroening added this pull request to the merge queue Feb 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 19, 2024
@mkroening mkroening added this pull request to the merge queue Feb 19, 2024
Merged via the queue into hermit-os:main with commit d44fdcb Feb 19, 2024
13 checks passed
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.

2 participants