Subject: Re: uvm_mmap.c 1.47
To: Andrew van der Stock <ajv@greebo.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 01/14/2001 15:26:41
On Fri, Jan 12, 2001 at 01:41:45PM +1100, Andrew van der Stock wrote:
> The second mmap failures are in mapVidMemSparse():
>
> memBase = mmap((caddr_t)0, 0x100000000,
> PROT_READ | PROT_WRITE,
> MAP_SHARED, devMemFd,
> (off_t) BUS_BASE);
> memSBase = mmap((caddr_t)0, 0x100000000,
> PROT_READ | PROT_WRITE,
> MAP_SHARED, devMemFd,
> (off_t) BUS_BASE_BWX);
>
> if (memSBase == MAP_FAILED || memBase == MAP_FAILED) {
> FatalError("xf86MapVidMem: Could not mmap framebuffer (%s)\n",
> strerror(errno));
This seems wrong -- are you using Simon Burge's patches?
--
-- Jason R. Thorpe <thorpej@zembu.com>