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

start_kernel() was not discussed earlier, though part 6 of Booting seems to imply it was #743

Open
pdelong42 opened this issue Oct 15, 2020 · 1 comment

Comments

@pdelong42
Copy link

In part 6 of the kernel booting process [1], you reference start_kernel() in init/main.c as if it had been discussed previously. However, this is the first time I've seen either that function or file mentioned (since there doesn't appear to have been any mention of either of them in parts 1-5). There are plenty of references to arch/x86/boot/main.c [3], but they're not directly related as far as I can tell.

I wasn't disoriented for too long, but it makes me wonder if I missed something, or if there was earlier material you omitted by mistake.

[1] https://github.com/0xAX/linux-insides/blob/master/Booting/linux-bootstrap-6.md
[2] https://github.com/torvalds/linux/blob/v4.16/init/main.c
[3] https://github.com/torvalds/linux/blob/v4.16/arch/x86/boot/main.c

@0xAX
Copy link
Owner

0xAX commented Jul 31, 2022

@pdelong42 yes you're right. IIRC this part was written after initialization chapter, so the start_kernel already was in my mind :)

I'll try to find time to improve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants