Skip to content
Snippets Groups Projects
  1. Sep 26, 2007
    • rsc's avatar
      believe it or not, this was working · 666f58c7
      rsc authored
      the macro expansion of "char *cp;" turned into
      char *(curproc[cpu()]);  which declares a dynamically
      sized array of char* called curproc.
      
      so then &cp == &(curproc[cpu()]) was actually a
      stack variable as "expected".  it was one past the
      end of the array, but the implicit alloca allocated
      more than was necessary.
      
      do not tell me that making cp a #define was a bad idea.
      there are worse problems to fix.  more on that later.
      666f58c7
    • rsc's avatar
      comment bochs nonsense · 90d975e9
      rsc authored
      90d975e9
    • rsc's avatar
      various comment and print tweaks · fbaa7b42
      rsc authored
      fbaa7b42
    • rsc's avatar
      debugging prints · 56c1a151
      rsc authored
      56c1a151
    • rsc's avatar
      · d5596cd6
      rsc authored
      Apparently the initial interrupt count lapic[TICR]
      must be set *after* initializing the lapic[TIMER] vector.
      
      Doing this, we now get clock interrupts on cpu 1.
      (No idea why we always got them on cpu 0.)
      
      Don't write to TCCR - it is read-only.
      d5596cd6
  2. Sep 25, 2007
  3. Sep 19, 2007
  4. Sep 17, 2007
  5. Sep 15, 2007
  6. Sep 05, 2007
    • rsc's avatar
      sh · e9f8419f
      rsc authored
      e9f8419f
  7. Aug 31, 2007
  8. Aug 30, 2007
  9. Aug 29, 2007
  10. Aug 28, 2007
Loading