On 2002.11.01 19:00 Jochen Kunz wrote:
> With the current kernel the machine hangs after printing
>
> NetBSD does not yet support the "MOT,PowerStack_II_Pro4000".
> Using generic OpenFirmware driver support.
[some printfs later]
sys/arch/powerpc/mpc6xx/pmap.c:pmap_bootstrap():
/*
* Initialize kernel pmap and hardware.
*/
for (i = 0; i < 16; i++) {
pmap_kernel()->pm_sr[i] = EMPTY_SEGMENT;
__asm __volatile ("mtsrin %0,%1"
:: "r"(EMPTY_SEGMENT), "r"(i << ADDR_SR_SHFT));
}
It hangs at the first execution of the inline ASM instruction.
--