Re: mp_machdep.c (was Re: [Fwd: Re: Bug reports requested - acpi])

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 22 Sep 2004 15:09:10 -0400
On Tuesday 21 September 2004 04:14 pm, Roman Kurakin wrote:
> John Baldwin:
> > [...]
> >
> >-       pmap_kenter(boot_address + KERNBASE, boot_address);
> >+       dst = pmap_mapdev(boot_address, size);
> >        for (x = 0; x < size; ++x)
> >                *dst++ = *src++;
> >
> >Though it's not really a device. :-P
>
> I don't like its internals, it is not transparent. In some cases it may
> have side effects.

It is exactly the same except that it better abstracts the KERNBASE 'magic'.  
It will not have side effects for any valid boot address.

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Wed Sep 22 2004 - 17:17:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:13 UTC