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

issues in linux-initialization-3.md #676

Open
PinoTsao opened this issue Jun 25, 2019 · 0 comments
Open

issues in linux-initialization-3.md #676

PinoTsao opened this issue Jun 25, 2019 · 0 comments

Comments

@PinoTsao
Copy link
Contributor

@PinoTsao PinoTsao commented Jun 25, 2019

So we're getting virtual address of the boot_params structure and pass it to the copy_bootdata function, where we copy real_mod_data to the boot_params which is declared in the arch/x86/include/asm/setup.h

Improvement, fix typo and error(as for the current code, maybe it is not a error before):

So we're getting virtual address of variable boot_params which come along from real mode, and pass it to the copy_bootdata function, where we copy real_mode_data to the boot_params which is defined in the arch/x86/kernel/setup.c

And, of course

    extern struct boot_params boot_params;

should be changed to:

    struct boot_params boot_params;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.