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

310555003 lab7 #179

Open
wants to merge 29 commits into
base: 310555003
Choose a base branch
from
Open

310555003 lab7 #179

wants to merge 29 commits into from

Conversation

LJP-TW
Copy link

@LJP-TW LJP-TW commented Jun 7, 2022

No description provided.

Separate user stack and kernel stack.
Save / restore sp_el0 when switch el0 / el1.
The user program cannot be run currently.
Now the "fork" function in vm.img works and the video plays fine.

TODO:
- User program vm.img will use address 0x3cxxxxxx, need to figure out why and how to
  handle it properly
- Map sigreturn to user address space and allow user to execute
- Implement pt_free
The mailbox communication uses PA, and it may return some PA address at 0x3c000000
 ~ 0x3f000000. The user program vm.img will use it. Currently implementation just
does an identity paging for the user page table.
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.

1 participant