From owner-cvs-all Sun Apr 30 3: 2: 0 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 531F137BC9E; Sun, 30 Apr 2000 03:01:58 -0700 (PDT) (envelope-from bde@FreeBSD.org) Received: (from bde@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA21892; Sun, 30 Apr 2000 03:01:58 -0700 (PDT) (envelope-from bde@FreeBSD.org) Message-Id: <200004301001.DAA21892@freefall.freebsd.org> From: Bruce Evans Date: Sun, 30 Apr 2000 03:01:57 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/isa atkbdc_isa.c fd.c src/sys/pci pci.c pcisupport.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG bde 2000/04/30 03:01:57 PDT Modified files: sys/isa atkbdc_isa.c fd.c sys/pci pci.c pcisupport.c Log: Fixed the type of some ivar access functions. Ivars have type uintptr_t, not u_long. On i386's with 64-bit longs, returning u_longs indirectly in (more than) the space reserved for uintptr_t's tended to corrupt the previous frame pointer in the stack frame, so it was not easy to debug. The type mismatches are hidden by the bogus cast in DEVMETHOD(). Revision Changes Path 1.17 +5 -5 src/sys/isa/atkbdc_isa.c 1.183 +2 -2 src/sys/isa/fd.c 1.147 +2 -2 src/sys/pci/pci.c 1.158 +2 -2 src/sys/pci/pcisupport.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message