mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Warn that one of the DEBUG statements has a v86 recursion bug.
This commit is contained in:
parent
00fe329527
commit
1206a4f594
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40210
@ -23,7 +23,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: biosdisk.c,v 1.11 1998/10/06 07:27:05 msmith Exp $
|
||||
* $Id: biosdisk.c,v 1.12 1998/10/09 07:11:19 msmith Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -589,6 +589,7 @@ bd_read(struct open_disk *od, daddr_t dblk, int blks, caddr_t dest)
|
||||
}
|
||||
|
||||
DEBUG("%d sectors from %d/%d/%d to %p (0x%x) %s", x, cyl, hd, sec - 1, p, VTOP(p), result ? "failed" : "ok");
|
||||
/* BUG here, cannot use v86 in printf because putchar uses it too */
|
||||
DEBUG("ax = 0x%04x cx = 0x%04x dx = 0x%04x status 0x%x",
|
||||
0x200 | x, ((cyl & 0xff) << 8) | ((cyl & 0x300) >> 2) | sec, (hd << 8) | od->od_unit, (v86.eax >> 8) & 0xff);
|
||||
if (result) {
|
||||
|
Loading…
Reference in New Issue
Block a user