Subject: Re: CVS commit: src/sys/dev/pci
To: None <email@example.com>
From: Perry E. Metzger <firstname.lastname@example.org>
Date: 09/29/2003 10:14:04
It might be worth it to look for more of these. One way to reveal them
might be a debug flag that zeros the stack after use/at times.
Steve Woodford <email@example.com> writes:
> Module Name: src
> Committed By: scw
> Date: Mon Sep 29 14:10:35 UTC 2003
> Modified Files:
> src/sys/dev/pci: if_wi_pci.c
> Log Message:
> Copy our pci_chipset_tag_t into wi_pci_softc instead of a pointer
> to pci_attach_args. The latter is allocated on the stack during auto-
> configuration and so will not be valid after that time.
> It's amazing how the old code worked for so long. I guess pci_attach_args
> is allocated deep in pid#0's kernel stack on most platforms.
> To generate a diff of this commit:
> cvs rdiff -r1.25 -r1.26 src/sys/dev/pci/if_wi_pci.c
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
Perry E. Metzger firstname.lastname@example.org