Subject: Re: netbsd-current and ibook g4: kernel freeze
To: Michael Lorenz <macallan@netbsd.org>
From: leon zadorin <leonleon77@gmail.com>
List: port-macppc
Date: 02/05/2007 15:57:58
On 2/5/07, Michael Lorenz <macallan@netbsd.org> wrote:
> Should be OF_interpret("line#", 0, 1, &crow); - nothing in, one out.
>
Ahh, cool - make sense to me now - thanks.
In that case, what about the following code in "copy_rom_font" (same
file, macppc/dev/ofb_cons.c):
/* Get ROM FONT address. */
OF_interpret("font-adr", 1, 1, &romfont);
> About the argument voodoo - we add one to both in and out because:
> - - the command itself counts as first argument
> - - OF returns some sort of status as first out
... and then, also (given that 1 in prepended to the number of args
for command itself), in the "ofb_cnattach" (same file):
/* move (rom monitor) cursor to the lowest line - 1 */
OF_interpret("#lines 2 - to line#", 1, 0);
Thaks for very prompt replies by the way!!!
Leon.