Quote:
Originally Posted by minumid
i cant find main() function there (init/main.c)
if the first function that execut isn't something like main() so what function do this, in init/main.c file?
|
as far as i know;
kernel execution starts at init/main.c start_kernel() function, line 537 in mine.
kernel execution is not line executing the main() function of another normal executable program. its being loaded to a particular memory location and CPU jumps there and starts execution.