Subject: Re: VS2000 graphics console questions
To: None <port-vax@NetBSD.ORG>
From: Nathan Schepers <nscheper@smyrno.foundation.ca>
List: port-vax
Date: 03/10/1998 16:18:12
On Tue, 10 Mar 1998, Bertram Barth wrote:

> > 	The problem is this:  if I try to map too much of the video
> > memory (a little past half, I think), I get a kernel panic with 
> > 
> > kmem_suballoc: bad status return of 3.
> > panic: kmem_suballoc
> 
> Try putting the mapping into sys/arch/vax/vax/ka410.c, there's already
> a struct prepared for these things, named "uc_map ka410_map", all you
> have to add is base, end and size of the physical address range to be
> mapped, the 4th value for the virtual base address will be filled in by 
> the  low-level initialization.
> Later on you can use uvax_phys2virt() to convert physical addresses into
> valid VM-pointer into to the mapped area, ie. uvax_phys2virt(phys-address) 
> will give you back a valid (ie. usable) address/pointer into virtual-memory.
> 

	Well, thanks a lot, this seemed to work. The next thing will be to
get the lk201 stuff working.  Is there anything specific I should be aware
of?  

Nathan Schepers
(ascheper@wincom.net)







> BTW: the mapped area is also continous.
> 
> Ciao,
> 	bertram
>