From owner-cvs-all@FreeBSD.ORG Tue Apr 17 15:14:24 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2946616A400; Tue, 17 Apr 2007 15:14:24 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 0391013C458; Tue, 17 Apr 2007 15:14:24 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3HFENeu030204; Tue, 17 Apr 2007 15:14:23 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3HFEN97030203; Tue, 17 Apr 2007 15:14:23 GMT (envelope-from jhb) Message-Id: <200704171514.l3HFEN97030203@repoman.freebsd.org> From: John Baldwin Date: Tue, 17 Apr 2007 15:14:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/isa isa_common.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 15:14:24 -0000 jhb 2007-04-17 15:14:23 UTC FreeBSD src repository Modified files: sys/isa isa_common.c Log: When trying to allocate a PnP BIOS memory resource, the code loops trying to move up the start address until the allocation succeeds. If the alignment of the resource was 0, then the code would keep trying the same request in an infinite loop and hang. Force the request to always move start up by at least 1 byte each time through the loop. Revision Changes Path 1.46 +1 -1 src/sys/isa/isa_common.c