- Timestamp:
-
10/04/05 20:59:52 (19 years ago)
- Author:
-
JoelSherrill
- Comment:
-
/* How much memory is left in the RTEMS Workspace? */ Fix formatting errors.
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v4
|
v5
|
|
120 | 120 | |
121 | 121 | {{{ |
122 | | (gdb) p '''(Heap''Block ''')''Workspace_Area->first |
123 | | $3 <tt> {back''flag </tt> 1, front''flag <tt> 68552, next </tt> 0x1e260, previous = 0x1e25c} |
| 122 | (gdb) p (Heap_Block *) Workspace_Area->first |
| 123 | $3 = {back_flag=1, front_flag=68552, next=0x1e260, previous=0x1e25c} |
124 | 124 | }}} |
125 | 125 | |
126 | | * ''Workspace''Area is the variable name of the RTEMS Workspace Heap control block. |
127 | | * '''(Heap''Block ''')''Workspace_Area->first is the contents of the first heap block information. |
| 126 | * ''Workspace_Area'' is the variable name of the RTEMS Workspace Heap control block. |
| 127 | * ''(Heap_Block *) _Workspace_Area->first'' is the contents of the first heap block information. |
128 | 128 | |
129 | 129 | Just as with the C Program Heap, the number was even indicating it is free. In this case, I had 68552 bytes left in the workspace. |