List Info

Thread: Re: yamt-idlelwp fallout for mips/cobalt?




Re: yamt-idlelwp fallout for mips/cobalt?
user name
2007-05-25 22:44:57
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?
user name
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

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )