/*
 * Debug stuff for the Minix-Handler
 *
 * Copyright (C) 1993 by Ralf Bächle
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file README.legal in the main directory of this archive
 * for more details.
 *
 */
#ifdef DEBUG

#  include <stdio.h>
#  include <string.h>
#  include <exec/types.h>
#  include <dos/dos.h>
#  include <dos/dosextens.h>
#  include <proto/dos.h>

#  include "debug.h"

BPTR		diag;
UBYTE	dmsgbuff[256];

VOID Debug_DumpPacket(struct DosPacket *p)
{
	DMSG1("  dp_Type: %x.\n", p->dp_Type);
	DMSG1("  dp_Arg1: %x.\n", p->dp_Arg1);
	DMSG1("  dp_Arg2: %x.\n", p->dp_Arg2);
	DMSG1("  dp_Arg3: %x.\n", p->dp_Arg3);
	DMSG1("  dp_Arg4: %x.\n", p->dp_Arg4);
	DMSG1("  dp_Arg5: %x.\n", p->dp_Arg5);
	DMSG1("  dp_Arg6: %x.\n", p->dp_Arg6);
	DMSG1("  dp_Arg7: %x.\n", p->dp_Arg7);
}

#endif /* DEBUG */
