diff options
author | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2009-11-30 13:06:21 +0000 |
---|---|---|
committer | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2009-11-30 13:06:21 +0000 |
commit | 9224a751b12835d21b11760c32a4a89524bb6b3e (patch) | |
tree | ee87034914f92f7388a421bf4e7a1c3ea40ce5b1 /cpukit/score/src/pheapallocatealigned.c | |
parent | fixed some typos (diff) | |
download | rtems-9224a751b12835d21b11760c32a4a89524bb6b3e.tar.bz2 |
Changed base implementation of protected heap allocations to use _Heap_Allocate_aligned_with_boundary().
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/pheapallocatealigned.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/cpukit/score/src/pheapallocatealigned.c b/cpukit/score/src/pheapallocatealigned.c deleted file mode 100644 index 756d8a8aa2..0000000000 --- a/cpukit/score/src/pheapallocatealigned.c +++ /dev/null @@ -1,40 +0,0 @@ -/** - * @file - * - * @ingroup ScoreProtHeap - * - * @brief Protected Heap Handler implementation. - */ - -/* - * COPYRIGHT (c) 1989-2007. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#include <rtems/system.h> -#include <rtems/score/protectedheap.h> - -void *_Protected_heap_Allocate_aligned( - Heap_Control *the_heap, - uintptr_t size, - uintptr_t alignment -) -{ - void *p; - - _RTEMS_Lock_allocator(); - p = _Heap_Allocate_aligned( the_heap, size, alignment ); - _RTEMS_Unlock_allocator(); - return p; -} - |