]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4re-core/uclibc/lib/contrib/uclibc/ldso/ldso/bfin/dl-syscalls.h
Update
[l4.git] / l4 / pkg / l4re-core / uclibc / lib / contrib / uclibc / ldso / ldso / bfin / dl-syscalls.h
1 /* Copyright (C) 2003, 2004 Red Hat, Inc.
2    Contributed by Alexandre Oliva <aoliva@redhat.com>
3
4 This file is part of uClibc.
5
6 uClibc is free software; you can redistribute it and/or modify it
7 under the terms of the GNU Lesser General Public License as
8 published by the Free Software Foundation; either version 2.1 of the
9 License, or (at your option) any later version.
10
11 uClibc is distributed in the hope that it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 Library General Public License for more details.
15
16 You should have received a copy of the GNU Lesser General Public
17 License along with uClibc; see the file COPYING.LIB.  If not, see
18 <http://www.gnu.org/licenses/>.  */
19
20 #ifdef __NR_sram_alloc
21 #define __NR__dl_sram_alloc __NR_sram_alloc
22 static __always_inline _syscall2(__ptr_t, _dl_sram_alloc,
23                         size_t, len, unsigned long, flags)
24 #endif
25
26 #ifdef __NR_sram_free
27 #define __NR__dl_sram_free __NR_sram_free
28 static __always_inline _syscall1(int, _dl_sram_free, __ptr_t, addr)
29 #endif
30
31 #ifdef __NR_dma_memcpy
32 #define __NR__dl_dma_memcpy __NR_dma_memcpy
33 static __always_inline _syscall3(__ptr_t, _dl_dma_memcpy,
34                         __ptr_t, dest, __ptr_t, src, size_t, len)
35 #endif
36
37 #define __UCLIBC_MMAP_HAS_6_ARGS__