SysLink API Reference
2.21.03.11
Main Page
Data Structures
Files
Related Pages
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
ti
syslink
utils
MemoryDefs.h
Go to the documentation of this file.
1
10
/*
11
* ============================================================================
12
*
13
* Copyright (c) 2008-2012, Texas Instruments Incorporated
14
*
15
* Redistribution and use in source and binary forms, with or without
16
* modification, are permitted provided that the following conditions
17
* are met:
18
*
19
* * Redistributions of source code must retain the above copyright
20
* notice, this list of conditions and the following disclaimer.
21
*
22
* * Redistributions in binary form must reproduce the above copyright
23
* notice, this list of conditions and the following disclaimer in the
24
* documentation and/or other materials provided with the distribution.
25
*
26
* * Neither the name of Texas Instruments Incorporated nor the names of
27
* its contributors may be used to endorse or promote products derived
28
* from this software without specific prior written permission.
29
*
30
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
31
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
32
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
33
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
34
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
35
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
36
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
37
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
38
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
39
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
40
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41
* Contact information for paper mail:
42
* Texas Instruments
43
* Post Office Box 655303
44
* Dallas, Texas 75265
45
* Contact information:
46
* http://www-k.ext.ti.com/sc/technical-support/product-information-centers.htm?
47
* DCMP=TIHomeTracking&HQS=Other+OT+home_d_contact
48
* ============================================================================
49
*
50
*/
51
52
53
54
#ifndef MEMORYDEFS_H_0x73E4
55
#define MEMORYDEFS_H_0x73E4
56
57
#include <ti/syslink/utils/_MemoryDefs.h>
58
59
#if defined (__cplusplus)
60
extern
"C"
{
61
#endif
62
63
64
/* =============================================================================
65
* Macros and types
66
* =============================================================================
67
*/
71
typedef
struct
Memory_Stats_tag
{
72
UInt32
totalSize
;
74
UInt32
totalFreeSize
;
76
UInt32
largestFreeSize
;
78
}
Memory_Stats
;
79
83
typedef
enum
{
84
MemoryOS_CacheFlags_Default
= 0x00000000,
86
MemoryOS_CacheFlags_Cached
= 0x00010000,
88
MemoryOS_CacheFlags_Uncached
= 0x00020000,
90
MemoryOS_CacheFlags_EndValue
= 0x00030000
92
}
MemoryOS_CacheFlags
;
93
97
typedef
enum
{
98
MemoryOS_MemTypeFlags_Default
= 0x00000000,
100
MemoryOS_MemTypeFlags_Physical
= 0x00000001,
102
MemoryOS_MemTypeFlags_Dma
= 0x00000002,
104
MemoryOS_MemTypeFlags_EndValue
= 0x00000003
106
}
MemoryOS_MemTypeFlags
;
107
108
109
#if defined (__cplusplus)
110
}
111
#endif
/* defined (__cplusplus) */
112
113
#endif
/* ifndef MEMORYDEFS_H_0x73E4 */
Copyright 2014, Texas Instruments Incorporated