[PATCH 44/60] microblaze_v4: clinkage.h linkage.h sections.h kmap_types.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: monstr
Date: Thursday, June 26, 2008 - 5:30 am

From: Michal Simek <monstr@monstr.eu>


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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Microblaze init port v4, monstr, (Thu Jun 26, 5:29 am)
[PATCH 01/60] microblaze_v4: Kconfig patches, monstr, (Thu Jun 26, 5:29 am)
[PATCH 03/60] microblaze_v4: Cpuinfo handling, monstr, (Thu Jun 26, 5:29 am)
[PATCH 09/60] microblaze_v4: Signal support, monstr, (Thu Jun 26, 5:29 am)
[PATCH 11/60] microblaze_v4: cache support, monstr, (Thu Jun 26, 5:29 am)
[PATCH 14/60] microblaze_v4: lmb support, monstr, (Thu Jun 26, 5:29 am)
[PATCH 16/60] microblaze_v4: defconfig file, monstr, (Thu Jun 26, 5:29 am)
[PATCH 19/60] microblaze_v4: checksum support, monstr, (Thu Jun 26, 5:29 am)
[PATCH 21/60] microblaze_v4: uaccess files, monstr, (Thu Jun 26, 5:29 am)
[PATCH 22/60] microblaze_v4: heartbeat file, monstr, (Thu Jun 26, 5:29 am)
[PATCH 24/60] microblaze_v4: asm-offsets, monstr, (Thu Jun 26, 5:29 am)
[PATCH 26/60] microblaze_v4: time support, monstr, (Thu Jun 26, 5:29 am)
[PATCH 27/60] microblaze_v4: virtualization, monstr, (Thu Jun 26, 5:29 am)
[PATCH 28/60] microblaze_v4: ptrace support, monstr, (Thu Jun 26, 5:29 am)
[PATCH 29/60] microblaze_v4: traps support, monstr, (Thu Jun 26, 5:29 am)
[PATCH 30/60] microblaze_v4: support for a.out, monstr, (Thu Jun 26, 5:29 am)
[PATCH 34/60] microblaze_v4: bug headers files, monstr, (Thu Jun 26, 5:30 am)
[PATCH 36/60] microblaze_v4: ioctl support, monstr, (Thu Jun 26, 5:30 am)
[PATCH 39/60] microblaze_v4: dma support, monstr, (Thu Jun 26, 5:30 am)
[PATCH 40/60] microblaze_v4: headers for irq, monstr, (Thu Jun 26, 5:30 am)
[PATCH 44/60] microblaze_v4: clinkage.h linkage.h sections ..., monstr, (Thu Jun 26, 5:30 am)
[PATCH 45/60] microblaze_v4: stats headers, monstr, (Thu Jun 26, 5:30 am)
[PATCH 51/60] microblaze_v4: pool.h socket.h, monstr, (Thu Jun 26, 5:30 am)
[PATCH 54/60] microblaze_v4: Kbuild file, monstr, (Thu Jun 26, 5:30 am)
[PATCH 55/60] microblaze_v4: pci headers, monstr, (Thu Jun 26, 5:30 am)
[PATCH 56/60] microblaze_v4: IPC headers, monstr, (Thu Jun 26, 5:30 am)
[PATCH 57/60] microblaze_v4: entry.S, monstr, (Thu Jun 26, 5:30 am)
[PATCH 58/60] microblaze_v4: sys_microblaze.c, monstr, (Thu Jun 26, 5:30 am)
Re: [PATCH 30/60] microblaze_v4: support for a.out, Adrian Bunk, (Thu Jun 26, 7:37 am)
Re: Microblaze init port v4, Adrian Bunk, (Thu Jun 26, 8:01 am)
Re: Microblaze init port v4, Arnd Bergmann, (Thu Jun 26, 8:09 am)
Re: [PATCH 33/60] microblaze_v4: includes SHM*, msgbuf, Arnd Bergmann, (Thu Jun 26, 8:18 am)
Re: [PATCH 46/60] microblaze_v4: termbits.h termios.h, Arnd Bergmann, (Thu Jun 26, 8:28 am)
Re: [PATCH 58/60] microblaze_v4: sys_microblaze.c, Arnd Bergmann, (Thu Jun 26, 8:48 am)
Re: [PATCH 58/60] microblaze_v4: sys_microblaze.c, Arnd Bergmann, (Thu Jun 26, 9:04 am)
Re: Microblaze init port v4, Arnd Bergmann, (Thu Jun 26, 10:51 am)
Re: Microblaze init port v4, H. Peter Anvin, (Thu Jun 26, 10:54 am)
Re: [PATCH 46/60] microblaze_v4: termbits.h termios.h, Michal Simek, (Thu Jun 26, 11:44 am)
Re: Microblaze init port v4, Michal Simek, (Thu Jun 26, 11:50 am)
Re: Microblaze init port v4, Michal Simek, (Thu Jun 26, 11:59 am)
Re: [PATCH 58/60] microblaze_v4: sys_microblaze.c, Michal Simek, (Thu Jun 26, 12:07 pm)
Re: [PATCH 08/60] microblaze_v4: exception handling, Michal Simek, (Thu Jun 26, 12:19 pm)
Re: [PATCH 30/60] microblaze_v4: support for a.out, Michal Simek, (Thu Jun 26, 12:23 pm)
Re: [PATCH 30/60] microblaze_v4: support for a.out, H. Peter Anvin, (Thu Jun 26, 12:27 pm)
Re: [PATCH 07/60] microblaze_v4: Support for semaphores, Michal Simek, (Thu Jun 26, 12:27 pm)
Re: Microblaze init port v4, Adrian Bunk, (Thu Jun 26, 12:43 pm)
RE: [PATCH 12/60] microblaze_v4: Generic dts file for plat ..., Stephen Neuendorffer, (Thu Jun 26, 1:18 pm)
RE: Microblaze init port v4, Stephen Neuendorffer, (Thu Jun 26, 1:27 pm)
Re: [PATCH 08/60] microblaze_v4: exception handling, Michal Simek, (Thu Jun 26, 2:06 pm)
Re: [PATCH 30/60] microblaze_v4: support for a.out, Michal Simek, (Thu Jun 26, 2:30 pm)
Re: [PATCH 30/60] microblaze_v4: support for a.out, H. Peter Anvin, (Thu Jun 26, 2:38 pm)
Re: [PATCH 58/60] microblaze_v4: sys_microblaze.c, Arnd Bergmann, (Thu Jun 26, 3:34 pm)
Re: Microblaze init port v4, John Williams, (Thu Jun 26, 5:12 pm)
Re: [PATCH 26/60] microblaze_v4: time support, Thomas Gleixner, (Fri Jun 27, 3:43 am)
Re: [PATCH 26/60] microblaze_v4: time support, Michal Simek, (Fri Jun 27, 6:10 am)
Re: [PATCH 01/60] microblaze_v4: Kconfig patches, Paul Mundt, (Fri Jun 27, 9:38 pm)
Re: [PATCH 24/60] microblaze_v4: asm-offsets, Paul Mundt, (Fri Jun 27, 9:43 pm)
Re: [PATCH 28/60] microblaze_v4: ptrace support, Paul Mundt, (Fri Jun 27, 9:59 pm)
Re: [PATCH 29/60] microblaze_v4: traps support, Paul Mundt, (Fri Jun 27, 10:03 pm)
Re: [PATCH 30/60] microblaze_v4: support for a.out, Paul Mundt, (Fri Jun 27, 10:04 pm)
Re: [PATCH 19/60] microblaze_v4: checksum support, Segher Boessenkool, (Sat Jun 28, 3:28 pm)
Re: [PATCH 19/60] microblaze_v4: checksum support, Michal Simek, (Mon Jun 30, 12:18 am)
Re: [PATCH 19/60] microblaze_v4: checksum support, Segher Boessenkool, (Mon Jun 30, 9:25 am)
Re: [PATCH 27/60] microblaze_v4: virtualization, Adrian Bunk, (Tue Jul 1, 1:46 pm)