Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Steve was on a plane #40

Merged
merged 9 commits into from
Jun 12, 2016
Merged

Steve was on a plane #40

merged 9 commits into from
Jun 12, 2016

Conversation

steveklabnik
Copy link
Member

I was trying to sleep on a flight, but couldn't and ended up hacking on some stuff. I'm not sure that this is good enough to merge, but maybe some commits are, but I'm opening this PR in case anyone wants to check it out and give some feedback.

}

pub fn remap() {
unsafe {
Copy link
Contributor

Choose a reason for hiding this comment

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

Woo, this is great! boot.asm is looking really clean :D

This commit does two things: first, it removes the setup_SSE, as we are
not actually using SSE instructions. This was introduced when following
Phil's tutorial long ago, but now we have a libcore that doesn't use SSE
at all, so this should be fine.

Second, we move the PIC stuff into Rust. It's just some outb/inb calls,
no need to keep it in assembly.
We aren't using these, currently.
@steveklabnik steveklabnik force-pushed the steve_was_on_a_plane branch from dcf3fe3 to 014fec1 Compare June 12, 2016 15:39
@steveklabnik
Copy link
Member Author

I have rebased away the gets stuff, and removed the stuff that conflicted with @nxnfufunezn 's PR. Let's see how it goes 😄

@steveklabnik steveklabnik merged commit 6ae78f4 into master Jun 12, 2016
@steveklabnik steveklabnik deleted the steve_was_on_a_plane branch June 12, 2016 15:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants