adNetBSD.org wrote:
> Can you try forcing them into the data segment and see
if that works? Eg:
>
> struct cpu_info cpu_info_store = { .ci_curlwp =
&lwp0 };
> lwp_t lwp0 = { .l_stat = LSONPROC };
When they are allocated in data segment by these changes,
a kernel boots up even if BSS is cleared in mach_init().
---
Izumi Tsutsui
Re: yamt-idlelwp fallout for
mips/cobalt?
2007-05-27 09:13:52
I wrote:
> > Can you try forcing them into the data segment and
see if that works? Eg:
> >
> > struct cpu_info cpu_info_store = { .ci_curlwp =
&lwp0 };
> > lwp_t lwp0 = { .l_stat = LSONPROC };
>
> When they are allocated in data segment by these
changes,
> a kernel boots up even if BSS is cleared in
mach_init().
I've also committed cobalt/machdep.c changes.
---
Izumi Tsutsui