From: kalyantej k. <kal...@ya...> - 2007-03-30 12:31:21
|
Hi everyone, I am trying to port UClinux for SH7615 processor.The kernel was able to boot properly . Before exceuting shell , I tried to execute a simple hello world application, It also works properly ,but when I try to fork a new process the system crashes. I found some code in entry.S which never get executed, In macros SAVE_ALL and RESTORE_ALL,there is a conditional check before proceeding to Kernel/user mode , where the current->tss.sr value is checked for. But when is this value of current->tss.sr is changed ! May be I hope that there is no separate stack for user mode and kernel mode,due to Which the fork gets failed . Is this a known problem in linux-2.0.x of uClinux-distribution . Please let me know if there is support for SH2 . Please help me , thanks in advance, Regards, Kalyan --------------------------------- Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. |