lkml.org 
[lkml]   [2008]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 42/58] microblaze_v5: clinkage.h linkage.h sections.h kmap_types.h
    Date
    From: Michal Simek <monstr@monstr.eu>

    Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
    Signed-off-by: Michal Simek <monstr@monstr.eu>
    ---
    include/asm-microblaze/clinkage.h | 27 +++++++++++++++++++++++++++
    include/asm-microblaze/kmap_types.h | 29 +++++++++++++++++++++++++++++
    include/asm-microblaze/linkage.h | 15 +++++++++++++++
    include/asm-microblaze/sections.h | 21 +++++++++++++++++++++
    4 files changed, 92 insertions(+), 0 deletions(-)
    create mode 100644 include/asm-microblaze/clinkage.h
    create mode 100644 include/asm-microblaze/kmap_types.h
    create mode 100644 include/asm-microblaze/linkage.h
    create mode 100644 include/asm-microblaze/sections.h

    diff --git a/include/asm-microblaze/clinkage.h b/include/asm-microblaze/clinkage.h
    new file mode 100644
    index 0000000..a2e09bd
    --- /dev/null
    +++ b/include/asm-microblaze/clinkage.h
    @@ -0,0 +1,27 @@
    +/*
    + * Macros to reflect C symbol-naming conventions
    + *
    + * Copyright (C) 2003 John Williams <jwilliams@itee.uq.edu.au>
    + * Copyright (C) 2001,2002 NEC Corporatione
    + * Copyright (C) 2001,2002 Miles Bader <miles@gnu.org>
    + *
    + * This file is subject to the terms and conditions of the GNU General
    + * Public License. See the file COPYING in the main directory of this
    + * archive for more details.
    + *
    + * Written by Miles Bader <miles@gnu.org>
    + * Microblaze port by John Williams
    + */
    +
    +#ifndef _ASM_MICROBLAZE_CLINKAGE_H
    +#define _ASM_MICROBLAZE_CLINKAGE_H
    +
    +#define __ASSEMBLY__
    +
    +#include <linux/linkage.h>
    +
    +#define C_SYMBOL_NAME(name) name
    +#define C_ENTRY(name) .globl name; .align 4; name
    +#define C_END(name)
    +
    +#endif /* _ASM_MICROBLAZE_CLINKAGE_H */
    diff --git a/include/asm-microblaze/kmap_types.h b/include/asm-microblaze/kmap_types.h
    new file mode 100644
    index 0000000..4d7e222
    --- /dev/null
    +++ b/include/asm-microblaze/kmap_types.h
    @@ -0,0 +1,29 @@
    +/*
    + * Copyright (C) 2006 Atmark Techno, Inc.
    + *
    + * This file is subject to the terms and conditions of the GNU General Public
    + * License. See the file "COPYING" in the main directory of this archive
    + * for more details.
    + */
    +
    +#ifndef _ASM_MICROBLAZE_KMAP_TYPES_H
    +#define _ASM_MICROBLAZE_KMAP_TYPES_H
    +
    +enum km_type {
    + KM_BOUNCE_READ,
    + KM_SKB_SUNRPC_DATA,
    + KM_SKB_DATA_SOFTIRQ,
    + KM_USER0,
    + KM_USER1,
    + KM_BIO_SRC_IRQ,
    + KM_BIO_DST_IRQ,
    + KM_PTE0,
    + KM_PTE1,
    + KM_IRQ0,
    + KM_IRQ1,
    + KM_SOFTIRQ0,
    + KM_SOFTIRQ1,
    + KM_TYPE_NR,
    +};
    +
    +#endif /* _ASM_MICROBLAZE_KMAP_TYPES_H */
    diff --git a/include/asm-microblaze/linkage.h b/include/asm-microblaze/linkage.h
    new file mode 100644
    index 0000000..3a8e36d
    --- /dev/null
    +++ b/include/asm-microblaze/linkage.h
    @@ -0,0 +1,15 @@
    +/*
    + * Copyright (C) 2006 Atmark Techno, Inc.
    + *
    + * This file is subject to the terms and conditions of the GNU General Public
    + * License. See the file "COPYING" in the main directory of this archive
    + * for more details.
    + */
    +
    +#ifndef _ASM_MICROBLAZE_LINKAGE_H
    +#define _ASM_MICROBLAZE_LINKAGE_H
    +
    +#define __ALIGN .align 4
    +#define __ALIGN_STR ".align 4"
    +
    +#endif /* _ASM_MICROBLAZE_LINKAGE_H */
    diff --git a/include/asm-microblaze/sections.h b/include/asm-microblaze/sections.h
    new file mode 100644
    index 0000000..d0c12fd
    --- /dev/null
    +++ b/include/asm-microblaze/sections.h
    @@ -0,0 +1,21 @@
    +/*
    + * Copyright (C) 2006 Atmark Techno, Inc.
    + *
    + * This file is subject to the terms and conditions of the GNU General Public
    + * License. See the file "COPYING" in the main directory of this archive
    + * for more details.
    + */
    +
    +#ifndef _ASM_MICROBLAZE_SECTIONS_H
    +#define _ASM_MICROBLAZE_SECTIONS_H
    +
    +#include <asm-generic/sections.h>
    +
    +extern char _ssbss[], _esbss[];
    +extern unsigned long __ivt_start[], __ivt_end[];
    +
    +#ifdef CONFIG_MTD_UCLINUX
    +extern char *_ebss;
    +#endif
    +
    +#endif /* _ASM_MICROBLAZE_SECTIONS_H */
    --
    1.5.4.GIT


    \
     
     \ /
      Last update: 2008-07-08 14:47    [W:0.034 / U:29.016 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site