summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/arch/sparc/include/asm/setup.h
diff options
context:
space:
mode:
authorKevin2014-11-15 09:58:27 +0800
committerKevin2014-11-15 09:58:27 +0800
commit392e8802486cb573b916e746010e141a75f507e6 (patch)
tree50029aca02c81f087b90336e670b44e510782330 /ANDROID_3.4.5/arch/sparc/include/asm/setup.h
downloadFOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.tar.gz
FOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.tar.bz2
FOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.zip
init android origin source code
Diffstat (limited to 'ANDROID_3.4.5/arch/sparc/include/asm/setup.h')
-rw-r--r--ANDROID_3.4.5/arch/sparc/include/asm/setup.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/arch/sparc/include/asm/setup.h b/ANDROID_3.4.5/arch/sparc/include/asm/setup.h
new file mode 100644
index 00000000..00497abe
--- /dev/null
+++ b/ANDROID_3.4.5/arch/sparc/include/asm/setup.h
@@ -0,0 +1,42 @@
+/*
+ * Just a place holder.
+ */
+
+#ifndef _SPARC_SETUP_H
+#define _SPARC_SETUP_H
+
+#if defined(__sparc__) && defined(__arch64__)
+# define COMMAND_LINE_SIZE 2048
+#else
+# define COMMAND_LINE_SIZE 256
+#endif
+
+#ifdef __KERNEL__
+
+extern char reboot_command[];
+
+#ifdef CONFIG_SPARC32
+/* The CPU that was used for booting
+ * Only sun4d + leon may have boot_cpu_id != 0
+ */
+extern unsigned char boot_cpu_id;
+extern unsigned char boot_cpu_id4;
+
+extern unsigned long empty_bad_page;
+extern unsigned long empty_bad_page_table;
+extern unsigned long empty_zero_page;
+
+extern int serial_console;
+static inline int con_is_present(void)
+{
+ return serial_console ? 0 : 1;
+}
+#endif
+
+extern void sun_do_break(void);
+extern int stop_a_enabled;
+extern int scons_pwroff;
+
+#endif /* __KERNEL__ */
+
+#endif /* _SPARC_SETUP_H */