From owner-cvs-sys Tue Sep 5 15:38:10 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id PAA09394 for cvs-sys-outgoing; Tue, 5 Sep 1995 15:38:10 -0700 Received: (from se@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id PAA09382 ; Tue, 5 Sep 1995 15:38:02 -0700 Date: Tue, 5 Sep 1995 15:38:02 -0700 From: Stefan Esser Message-Id: <199509052238.PAA09382@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/pci ncr.c Sender: cvs-sys-owner@FreeBSD.org Precedence: bulk se 95/09/05 15:38:02 Modified: sys/pci ncr.c Log: The NCR script has grown beyond one page (4KB). Since malloc() returns contiguous memory in virtual space, but doesn't guarantee any particular physical layout of pages, the script may be not contguous in physical memory. This made the first write command fail in very rare cases. This has been fixed by checking the region returned by malloc() for being contiguous, but there should be a physical memory allocate and later mapping to virtual memory instead. A few assertions and error messages are improved.