On 04-Mar-02 Valery N. Khromov wrote:
> I'd like to develop a kernel module for FreeBSD, able to read & write
> directly to VGA text-mode screen buffer. I know that this buffer is located
> at 0xB8000 in physical address space. But in kernel I must address it using
> kernel virtual address space.
> 
> Thus, the question is: how can I _correctly_ convert physical address into
> kernel virtual address?
> 
> Now I use the following trick: 0xC0000000 + 0xB8000, but I want to use more
> correct method. :)
> 
> thanks.
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to