Date: Tue, 28 Sep 2004 16:36:58 +0000 (UTC) From: Ken Smith <kensmith@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/sparc64 rwindow.c Message-ID: <200409281636.i8SGawgU092807@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kensmith 2004-09-28 16:36:58 UTC
FreeBSD src repository
Modified files:
sys/sparc64/sparc64 rwindow.c
Log:
Add an assertion that the pcb_nsaved field of the pcb be less than
MAXWIN to the register window manipulation functions - rwindow_load()
calls rwindow_save() so this one addition should take care of both.
This should help find places that pcb_nsaved doesn't get initialized
properly.
Suggested by: jake
Revision Changes Path
1.8 +2 -0 src/sys/sparc64/sparc64/rwindow.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409281636.i8SGawgU092807>
