- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm studying nios and uclinux and met a question when I read source code in linux-2.0.x on cvs.uclinux.org.
The question is: At the entry of sys_fork and sys_vfork, why use SAVE_LAST_WINDOW and STORE_WINDOW to store essential reg info? but at the entry of sys_clone, use FLUSH_WINDOWS. From the codes of the same part of sparcnommu, it use the method similar to FLUSH_WINDOWS to store essential reg info at the entry of sys_fork, sys_vfork, sys_clone. So why use SAVE_LAST_WINDOW and STORE_WINDOW but not FLUSH_WINDOWS in nios porting? and what it means the spare_reg_window variable in thread_struct struct in asm-niosnommu/processor.h? thanks!Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should not work on Nios anymore. You should move to Nios II.
Follow the wiki, http://nioswiki.jot.com/%c2%b5clinux (http://nioswiki.jot.com/%c2%b5clinux)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo@Jan 3 2007, 08:35 PM you should not work on nios anymore. you should move to nios ii.
follow the wiki,
http://nioswiki.jot.com/%c2%b5clinux (http://nioswiki.jot.com/%c2%b5clinux)
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20339)
--- quote end ---
--- Quote End --- thanks for your reply, hippo. But I still want to understand those macro's usage http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page