Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

implement a new context switch#240

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Freax13 wants to merge2 commits intorust-osdev:main
base:main
Choose a base branch
Loading
fromFreax13:new-cleaner-context-switch

Conversation

Freax13
Copy link
Member

This pr reimplements the context switch in such a way that we don't need to map any of the bootloader's memory into the kernel's address space (see#239 for more info). This pr also makes the GDT base address configurable instead of identity mapping it into the kernel's address space.

Depends onrust-osdev/x86_64#385
Closes#239

@phil-opp
Copy link
Member

Thanks a lot for implementing this! Unfortunately, I don't have much time right now, but I try my best to review this as soon as possible.

@Freax13
Copy link
MemberAuthor

Thanks a lot for implementing this! Unfortunately, I don't have much time right now, but I try my best to review this as soon as possible.

No worries, take your time!

@Freax13Freax13force-pushed thenew-cleaner-context-switch branch from57dde98 tocad88acCompareOctober 29, 2022 08:40
@Freax13
Copy link
MemberAuthor

Just rebased onto the latestnext branch.

@phil-opp
Copy link
Member

Thanks a lot! I'm really sorry for the delay in reviewing.

Given that this changes a critical part of the boot process, I think we should get#232 merged and released first since many people tested that version already. This change would then becomev0.11.1, which would make it easier to compare the behavior and detect possible regressions. Would that be ok for you?

@Freax13
Copy link
MemberAuthor

Sure, sounds good to me!

@phil-oppphil-opp added this to thev0.11.1 milestoneNov 13, 2022
@phil-oppphil-opp deleted the branchrust-osdev:mainNovember 13, 2022 20:06
@Freax13
Copy link
MemberAuthor

Why was this PR closed? Couldn't we just have switched the target branch tomain?

@bjorn3
Copy link
Contributor

Given that the delection of the target branch and the closing of this PR happened at the same time I thinl github auto-closed it.

@phil-opp
Copy link
Member

Oh wow, looks like a race condition on GitHub's side. Normally, it just changes the base branch in this case (and it did so for#282), but apparently it handled the "branch deleted" action first for this PR.

@phil-oppphil-opp reopened thisNov 13, 2022
@phil-oppphil-opp changed the base branch fromnext tomainNovember 13, 2022 20:45
@phil-opp
Copy link
Member

Ok, restoring the branch allowed me to reopen this PR. I now changed the base branch manually.

Freax13 reacted with thumbs up emoji

@Freax13
Copy link
MemberAuthor

Thanks!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v0.11.1
Development

Successfully merging this pull request may close these issues.

don't leave parts of the bootloader in the kernel's address space
3 participants
@Freax13@phil-opp@bjorn3

[8]ページ先頭

©2009-2025 Movatter.jp