Changeset 12b57ad in rtems-libbsd


Ignore:
Timestamp:
Oct 24, 2013, 8:44:22 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
1bc2756
Parents:
6cdf009
git-author:
Sebastian Huber <sebastian.huber@…> (10/24/13 08:44:22)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/31/13 12:18:50)
Message:

Move malloc defines to <sys/malloc.h>

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/sys/malloc.h

    r6cdf009 r12b57ad  
    127127
    128128#ifdef _KERNEL
     129#ifdef __rtems__
     130#include <stdlib.h>
     131#define malloc _bsd_malloc
     132#define realloc _bsd_realloc
     133#define reallocf _bsd_reallocf
     134#define free _bsd_free
     135#endif /* __rtems__ */
    129136#define MALLOC_DEFINE(type, shortdesc, longdesc)                        \
    130137        struct malloc_type type[1] = {                                  \
  • rtemsbsd/include/machine/rtems-bsd-config.h.in

    r6cdf009 r12b57ad  
    9797#include <machine/rtems-bsd-symbols.h>
    9898
    99 #define realloc _bsd_realloc
    100 #define reallocf _bsd_reallocf
    101 
    10299/* Debug */
    103100
  • rtemsbsd/include/machine/rtems-bsd-symbols.h

    r6cdf009 r12b57ad  
    250250#define ehci_shutdown _bsd_ehci_shutdown
    251251#define ehci_suspend _bsd_ehci_suspend
    252 #define free _bsd_free
    253252#define hid_end_parse _bsd_hid_end_parse
    254253#define hid_get_data _bsd_hid_get_data
     
    279278#define kthread_start _bsd_kthread_start
    280279#define kthread_suspend _bsd_kthread_suspend
    281 #define malloc _bsd_malloc
    282280#define malloc_init _bsd_malloc_init
    283281#define malloc_uninit _bsd_malloc_uninit
Note: See TracChangeset for help on using the changeset viewer.