4.115
Last change
on this file since da154e14 was
9b4422a2,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24
|
Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
-
Property mode set to
100644
|
File size:
811 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup libcsupport |
---|
5 | * |
---|
6 | * @brief rtems_heap_extend() implementation. |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * Copyright (c) 2011 embedded brains GmbH. All rights reserved. |
---|
11 | * |
---|
12 | * embedded brains GmbH |
---|
13 | * Obere Lagerstr. 30 |
---|
14 | * 82178 Puchheim |
---|
15 | * Germany |
---|
16 | * <rtems@embedded-brains.de> |
---|
17 | * |
---|
18 | * The license and distribution terms for this file may be |
---|
19 | * found in the file LICENSE in this distribution or at |
---|
20 | * http://www.rtems.com/license/LICENSE. |
---|
21 | */ |
---|
22 | |
---|
23 | #if HAVE_CONFIG_H |
---|
24 | #include "config.h" |
---|
25 | #endif |
---|
26 | |
---|
27 | #ifdef RTEMS_NEWLIB |
---|
28 | #include "malloc_p.h" |
---|
29 | |
---|
30 | rtems_status_code rtems_heap_extend( |
---|
31 | void *area_begin, |
---|
32 | uintptr_t area_size |
---|
33 | ) |
---|
34 | { |
---|
35 | bool ok = _Protected_heap_Extend(RTEMS_Malloc_Heap, area_begin, area_size); |
---|
36 | |
---|
37 | if (ok) { |
---|
38 | return RTEMS_SUCCESSFUL; |
---|
39 | } else { |
---|
40 | return RTEMS_INVALID_ADDRESS; |
---|
41 | } |
---|
42 | } |
---|
43 | #endif /* RTEMS_NEWLIB */ |
---|
Note: See
TracBrowser
for help on using the repository browser.