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

Made the boot server work again #33

Merged
merged 7 commits into from
May 21, 2015
Merged

Conversation

perlun
Copy link
Contributor

@perlun perlun commented May 21, 2015

The critical part here is the change in system_calls.h; the boot server was never really at fault, but it triggered an exception in the vga server. 😄

perlun added 7 commits May 20, 2015 22:51
For reference: They get logged to /tmp/qemu.log.
I believe these should be =m. Historically, these have been =g, but it got changed in 6a4457d or similar. Let's hope it works better now.
@@ -192,7 +192,7 @@ static inline return_type system_call_memory_reserve(address_type start, unsigne
"pushl %4\n"
"lcall %5, $0"
: "=a" (return_value),
"=ri" (*virtual_address)
"=m" (*virtual_address)
: "ri" (virtual_address),
"ri" (size),
"ri" (start),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the critical part: fixing the asm constraints.

@perlun perlun changed the title Make boot server work again Made the boot server work again May 21, 2015
@perlun perlun mentioned this pull request May 21, 2015
9 tasks
perlun added a commit that referenced this pull request May 21, 2015
@perlun perlun merged commit b0b0b46 into master May 21, 2015
@perlun perlun deleted the feature/make-boot-server-work-again branch May 21, 2015 20:33
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