osint_debug.h
2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#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_ */