9 Linear access to the frame buffer using BSD/386 1.1

Contents of this section

The stock BSD/386 1.1 kernel has problems when trying to mmap the frame buffer as a linear ( unbanked ) memory area in high memory. This patch removes the check in /sys/i386/isa/vga.c that disables mmapping the frame buffer in linear mode. Please consult the BSD/386 1.1 release notes for instructions on how to build a new kernel. This patch is not needed on BSD/OS 2.0.

vga.c patch:
*** vga.c.orig  Sun Dec 19 09:35:01 1993
--- vga.c       Mon Oct 24 01:38:44 1994
***************
*** 159,165 ****
  #if 0
        if (off + NBPG > vgap->vga_mem_size)
                return (-1);
! #else
        if (off + NBPG > IOM_END)
                return (-1);
  #endif
--- 159,165 ----
  #if 0
        if (off + NBPG > vgap->vga_mem_size)
                return (-1);
! /*#else*/
        if (off + NBPG > IOM_END)
                return (-1);
  #endif

$XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/Bsdi.sgml,v 3.17 1996/10/16 14:41:10 dawes Exp $ 





$XConsortium: Bsdi.sgml /main/5 1995/11/12 19:59:15 kaleb $

Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter