From: Michal Simek <[EMAIL PROTECTED]>
Signed-off-by: Michal Simek <[EMAIL PROTECTED]> --- 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 <[EMAIL PROTECTED]> + * Copyright (C) 2001,2002 NEC Corporatione + * Copyright (C) 2001,2002 Miles Bader <[EMAIL PROTECTED]> + * + * 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 <[EMAIL PROTECTED]> + * 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 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev