Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate


Monday, October 1st, 2007 at 4:08:43am UTC 

  1. # svn diff
  2. Index: firmware/thread.c
  3. ===================================================================
  4. --- firmware/thread.c   (revision 14933)
  5. +++ firmware/thread.c   (working copy)
  6. @@ -1038,6 +1038,13 @@
  8.      /* CPU will initialize first and then sleep */
  9.      slot = find_empty_thread_slot();
  11. +    /* This can fail if, for example, .bss isn't zero'ed out by the loader
  12. +       or threads is in the wrong section. */
  13. +    if (slot < 0) {
  14. +        panicf("uninitialized threads[]");
  15. +    }
  16. +#endif
  18.      cores[core].sleeping = NULL;
  19.      cores[core].running = NULL;


Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)

Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right worth-right