Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2004 15:09:10 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        Roman Kurakin <rik@cronyx.ru>
Cc:        FreeBSD Current <freebsd-current@FreeBSD.org>
Subject:   Re: mp_machdep.c (was Re: [Fwd: Re: Bug reports requested - acpi])
Message-ID:  <200409221509.10722.jhb@FreeBSD.org>
In-Reply-To: <41508BA3.10003@cronyx.ru>
References:  <41421D6A.8070805@cronyx.ru> <200409211505.59361.jhb@FreeBSD.org> <41508BA3.10003@cronyx.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409221509.10722.jhb>