-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store userspace context in proper struct when handling syscalls
The idea here is that once we have the userspace context stored in a proper struct (instead of on the temporary kernel stack), we can later persist it and resume paused processes. It's the first time I'm writing assembly (http://memegen/9887503231543599), so for now this just leaves the existing logic for saving registers as is. We should replace it with xsave later on probably. Change-Id: Id9887487e4fd2ec36206359cd0050bab2c989df3
- Loading branch information
Showing
2 changed files
with
92 additions
and
84 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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