To execute a program, the load_elf_binary() loads it and
descdes the value of elf_entry, start_code, start_data....etc..
Then , the start_thread(regs, elf_entry, bprm->p) will
But it just sets up the value of
regs->cp0_status, regs->cp0_epc, regs->regs and
Why can the start_thread() trigger a program?
Here is my situation :
The kernel boots up and mounts the filesystem, when it tries
execute /sbin/hello i don't see any output.
(Ps: /sbin/hello is a simple testing program to replace the
It just outputs
some console message.)
I looked at the memory and the code for hello is
present at "elf_entry",
so why does the start_thread not execute it ??
Any help would be really appreciated.