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

Pure-Rust boot sequence #74

Merged
merged 86 commits into from
Jan 31, 2017
Merged

Pure-Rust boot sequence #74

merged 86 commits into from
Jan 31, 2017

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Jan 30, 2017

This PR adds the pure-Rust boot sequence for x86_64.

This closes #17, closes #67, closes #68, closes #69, and closes #70.

There is now a page fault when we try to set up the kernel heap, but this is likely because we are trying to create the heap before we've remapped the kernel into the higher address space. Since this is already slated to be more or less completely rewritten anyway (see #73 and so on), I think we can go ahead and merge this.

hawkw added 30 commits October 19, 2016 14:11
so it doesn't conflict with the 32-bit kernel target when we write that
so it doesn't conflict with the 32-bit kernel target when we write that
everything works except for the final far jump to `arch_init`.
also, messy
it makes it past the jump to long mode now but appears to make a page
fault when unpacking the multiboot info. i suspect the multiboot addr
is being passed wrongly...
holy crap you guys i fixed it
@hawkw hawkw added kind/feature Kind: this issue is a feature. area/kernel Area: this issue relates to the core kernel. kind/refactor Kind: this issue describes refactoring or code quality improvement. labels Jan 30, 2017
@hawkw hawkw self-assigned this Jan 30, 2017
@hawkw
Copy link
Member Author

hawkw commented Jan 30, 2017

Ah, never mind - travis build needs to be fixed, still.

@hawkw
Copy link
Member Author

hawkw commented Jan 31, 2017

Looks like we're good to go! 🎊

@hawkw hawkw merged commit f436b2d into master Jan 31, 2017
@hawkw hawkw deleted the new-rust-boot branch January 31, 2017 17:15
hawkw added a commit that referenced this pull request Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kernel Area: this issue relates to the core kernel. kind/feature Kind: this issue is a feature. kind/refactor Kind: this issue describes refactoring or code quality improvement.
Projects
None yet
1 participant