osint_debug.h 2.2 KB
#ifndef _OSINT_DEBUG_H_
#define _OSINT_DEBUG_H_

/**************************************************************************
 *                                                                        *
 *               Copyright (C) 1994, Silicon Graphics, Inc.               *
 *                                                                        *
 *  These coded instructions, statements, and computer programs  contain  *
 *  unpublished  proprietary  information of Silicon Graphics, Inc., and  *
 *  are protected by Federal copyright law.  They  may  not be disclosed  *
 *  to  third  parties  or copied or duplicated in any form, in whole or  *
 *  in part, without the prior written consent of Silicon Graphics, Inc.  *
 *                                                                        *
 **************************************************************************/

/*---------------------------------------------------------------------*
        Copyright (C) 1998 Nintendo. (Originated by SGI)
        
        $RCSfile: osint_debug.h,v $
        $Revision: 1.1.1.2 $
        $Date: 2002/10/29 08:06:43 $
 *---------------------------------------------------------------------*/

#include <stdarg.h>
#include <os.h>
#include <os_internal.h>
#include <ultraerror.h>
#include <ultralog.h>
#include <sptask.h>


/***************************************
 *
 * Type definitions
 *
 */


/***************************************
 *
 * Macro definitions
 *
 */


/***************************************
 *
 * Extern function prototypes
 *
 */

extern void osThreadProfileCallback(OSThread *);


/* export from assert.c */

extern void		__assert(const char *, const char *, int);

/* exports from profile.c */

extern OSProf		*__osProfileList;
extern OSProf		*__osProfileListEnd;
extern u32		__osProfileOverflowBin;
extern OSTimer		__osProfTimer;
extern OSMesgQueue	__osProfTimerQ;

/* exports from threadprofile.c */
extern u32              __osThprofFlag;
extern void             *__osThprofFunc;
extern u32              __osThprofLastTimer;
extern u32              __osThprofCount;
extern __OSThreadprofile_s thprof[];
extern u64              __osThprofHeap[];
extern u64              *__osThprofStack;

#endif  /* _OSINT_DEBUG_H_ */