Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2001 00:32:02 -0600
From:      Alfred Perlstein <bright@mu.org>
To:        David Xu <davidx@viasoft.com.cn>
Cc:        Nicolas Souchu <nsouch@fr.alcove.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: kld VM pager
Message-ID:  <20011207003202.K92148@elvis.mu.org>
In-Reply-To: <3C105A26.9090005@viasoft.com.cn>; from davidx@viasoft.com.cn on Fri, Dec 07, 2001 at 01:56:54PM %2B0800
References:  <20011206143022.H13566@cedar.alcove-fr> <3C10410E.9040805@viasoft.com.cn> <20011206231758.J92148@elvis.mu.org> <3C105A26.9090005@viasoft.com.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
* David Xu <davidx@viasoft.com.cn> [011207 00:01] wrote:
> you mean we can use  OBJT_PHYS?  do we fully support it?
> althougth we have phys_pager,  I suspect it is not enough,  because
> along with fault handling,  graphics driver will need other operations,  for
> examples, unmap other pages and setup hardware registers,
> think about a frame buffer driver need to map 32K  window  into 1024K
> address space,  when fault ocurrs in second  32K window,  it should unmap
> first 32K address and activate second 32K address and setup graphics card
> registers to let later access to its internal second 32K memory bank.
> how can you handle such issue after vm_fault?

By setting the proper page protections.


-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
                           http://www.morons.org/rants/gpl-harmful.php3

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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