Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2000 03:01:57 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.org>
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
Message-ID:  <200004301001.DAA21892@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004301001.DAA21892>