Subject: Crash in amdpm_get_timecount()
To: NetBSD current-users <current-users@netbsd.org>
From: M Graff <explorer@flame.org>
List: current-users
Date: 06/21/2006 14:57:45
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My dual AMD machine is crashing during boot in this function:

#ifdef __HAVE_TIMECOUNTER
uint32_t
amdpm_get_timecount(struct timecounter *tc)
{
        struct amdpm_softc *sc = tc->tc_priv;

        return bus_space_read_4(sc->sc_iot, sc->sc_ioh, AMDPM_TMR);
}
#endif

The older kernel, compiled before this change, does not cause any problems.

- --Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEmaS5uzMQWQwZDN0RArOMAJ95Ur6jgGmgY3K6WGgeQVA0Zx9OiACglLlW
vB62JrURP/snJSzVJ0U/a4c=
=62iv
-----END PGP SIGNATURE-----