Synchronize with sys/i386/isa/wd.c revision 1.135.

This commit is contained in:
KATO Takenori 1997-08-09 06:41:36 +00:00
parent f8550fdd1c
commit 2f987f4d24
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28011

View file

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
* $Id: wd.c,v 1.27 1997/07/31 13:10:54 kato Exp $
* $Id: wd.c,v 1.28 1997/08/06 09:41:59 kato Exp $
*/
/* TODO:
@ -2308,8 +2308,17 @@ wddump(dev_t dev)
CADDR1 + ((int)addr & PAGE_MASK),
DEV_BSIZE / sizeof(short));
addr += DEV_BSIZE;
if ((unsigned)addr % (1024 * 1024) == 0)
/*
* If we are dumping core, it may take a while.
* So reassure the user and hold off any watchdogs.
*/
if ((unsigned)addr % (1024 * 1024) == 0) {
#ifdef HW_WDOG
if (wdog_tickler)
(*wdog_tickler)();
#endif /* HW_WDOG */
printf("%ld ", num / (1024 * 1024 / DEV_BSIZE));
}
num--;
blkcnt--;
}