4.115
Last change
on this file since ae75429 was
ae75429,
checked in by Sebastian Huber <sebastian.huber@…>, on 08/06/13 at 14:10:26
|
PR766: Delete RTEMS_VIOLATE_KERNEL_VISIBILITY
|
-
Property mode set to
100644
|
File size:
530 bytes
|
Line | |
---|
1 | #if HAVE_CONFIG_H |
---|
2 | #include "config.h" |
---|
3 | #endif |
---|
4 | |
---|
5 | #define RTEMS_FAST_MUTEX |
---|
6 | |
---|
7 | #include <string.h> |
---|
8 | #include <stdarg.h> |
---|
9 | #include <stdio.h> |
---|
10 | #include <errno.h> |
---|
11 | |
---|
12 | #include <rtems.h> |
---|
13 | #include <rtems/rtems_bsdnet.h> |
---|
14 | |
---|
15 | /* |
---|
16 | * We want to use the REAL system malloc. Do not let the BSD malloc macro |
---|
17 | * invade this file. |
---|
18 | */ |
---|
19 | extern void *malloc(size_t); |
---|
20 | |
---|
21 | /* |
---|
22 | * Default allocator for mbuf data. Over-ride in user code to change |
---|
23 | * the way mbuf's are allocated. |
---|
24 | */ |
---|
25 | |
---|
26 | void* rtems_bsdnet_malloc_mbuf(size_t size, int type) |
---|
27 | { |
---|
28 | return malloc(size); |
---|
29 | } |
---|
30 | |
---|
31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.