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

Probably mistakes in linux-bootstrap-1.md #494

Closed
litao91 opened this issue Jul 16, 2017 · 1 comment
Closed

Probably mistakes in linux-bootstrap-1.md #494

litao91 opened this issue Jul 16, 2017 · 1 comment

Comments

@litao91
Copy link

litao91 commented Jul 16, 2017

In the section start of kernel setup, I believe that the segments should have the following value after kernel setup starts:

gs = fs = es = ds = ss = 0x10000
cs = 0x10200

Similarly, in the Segment register align section, it should be

grub2 loads kernel setup code at address 0x10000 by default and cs at 0x10200 because execution doesn't start from the start of file, but from:

@0xAX
Copy link
Owner

0xAX commented Jul 16, 2017

should be fixed now. thank you.

@0xAX 0xAX closed this as completed Jul 16, 2017
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

No branches or pull requests

2 participants