Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/cobalt/cobalt

Module Name:    src
Committed By:   tsutsui
Date:           Sun May 27 14:10:49 UTC 2007

Modified Files:
        src/sys/arch/cobalt/cobalt: machdep.c

Log Message:
- Don't clear BSS in mach_init() if a kernel is loaded
  by our native bootloader.
- Restore lwp0.l_cpu (which is required for curcpu()) and
  cpu_info_store.ci_curlwp after clearing BSS in case
  a kernel is loaded by the firmware directly since these
  values are in BSS and initilized before mach_init() is called.
  (actually they are restored in mips_machdep.c:mips_vector_init()
   but we use curcpu() earlier than that point)

Fixes silent hang right after boot on cobalt.

To generate a diff of this commit:
cvs rdiff -r1.82 -r1.83 src/sys/arch/cobalt/cobalt/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index