mp_machdep.c (was Re: [Fwd: Re: Bug reports requested - acpi])
John Baldwin
jhb at FreeBSD.org
Wed Sep 22 12:17:24 PDT 2004
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
More information about the freebsd-current
mailing list