Subject: Re: unaligned access during bootup
To: Stephen Jones <smj@cirr.com>
From: Martin Husemann <martin@duskware.de>
List: port-alpha
Date: 02/28/2007 09:44:01
On Tue, Feb 27, 2007 at 11:31:14PM -0800, Stephen Jones wrote:
> Ditto here. I'm unable to boot 4.99.11 or .12
That is probably the bool type change fallout seen on other ports
too - uvm.page_idle_zero is a byte now and not aligned properly.
call_pal PAL_OSF1_swpipl
ldl t0, sched_whichqs /* look for non-empty queue */
bne t0, 4f
2: lda t0, uvm
ldl t0, UVM_PAGE_IDLE_ZERO(t0) /* should we zero some pages? */
beq t0, 3f /* nope. */
CALL(uvm_pageidlezero)
3: ldl t0, sched_whichqs /* look for non-empty queue */
beq t0, 2b
4: ldiq a0, ALPHA_PSL_IPL_HIGH /* disable all interrupts */
call_pal PAL_OSF1_swpipl
try:
2: lda t0, uvm
ldbu t0, UVM_PAGE_IDLE_ZERO(t0) /* should we zero some pages? */
instead. (Thanks to pavel for looking into the asm manual)
Martin