summaryrefslogtreecommitdiff
path: root/sys/arch/beagle/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-09-20 22:02:14 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-09-20 22:02:14 +0000
commit488065df1de76d41e2b7f88decd9744099653643 (patch)
treea4391c2e241e18ec8d7b19aa0858e18006b8d24c /sys/arch/beagle/include
parent701d4c1371a08afa82267d8f66e4122fd525f274 (diff)
Late spring cleaning of the arm code for old dusty bits we do not want to
keep: - remove bootconfig parameter passing feature (unused). - unifdef __PROG32 and remove all remains of arm26 code. - remove ARMFPE support (unused). - remove support for ARM2, ARM2AS, ARM3, ARM6, ARM7, ARM7TDMI and StrongARM processor families, and the related silicon bug workarounds (especially the SA-110 STM^ bug). - remove cpu_functions no longer necessary after previous removals. - remove ARM32_DISABLE_ALIGNMENT_FAULTS option (unused). - make FIQ support conditional on option FIQ (unused, but may be eventually). Discussed with drahn@ and jasper@ long ago, I was sitting on this commit for no good reason.
Diffstat (limited to 'sys/arch/beagle/include')
-rw-r--r--sys/arch/beagle/include/bootconfig.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/sys/arch/beagle/include/bootconfig.h b/sys/arch/beagle/include/bootconfig.h
index 6786d5207d1..bb612488a51 100644
--- a/sys/arch/beagle/include/bootconfig.h
+++ b/sys/arch/beagle/include/bootconfig.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bootconfig.h,v 1.2 2010/02/07 18:47:45 drahn Exp $ */
+/* $OpenBSD: bootconfig.h,v 1.3 2011/09/20 22:02:13 miod Exp $ */
/* $NetBSD: bootconfig.h,v 1.2 2001/06/21 22:08:28 chris Exp $ */
/*
@@ -43,13 +43,13 @@
* Based on kate/boot/bootconfig.h
*/
+#if defined(_KERNEL) || defined(_STANDALONE)
+
typedef struct _PhysMem {
u_int address;
u_int pages;
} PhysMem;
-#if defined(_KERNEL) || defined(_STANDALONE)
-
#define DRAM_BLOCKS 2
typedef struct _BootConfig {
@@ -60,17 +60,8 @@ typedef struct _BootConfig {
extern BootConfig bootconfig;
#define MAX_BOOT_STRING 255
-#define BOOTOPT_TYPE_BOOLEAN 0
-#define BOOTOPT_TYPE_STRING 1
-#define BOOTOPT_TYPE_INT 2
-#define BOOTOPT_TYPE_BININT 3
-#define BOOTOPT_TYPE_HEXINT 4
-#define BOOTOPT_TYPE_MASK 7
-
#endif /* _KERNEL || _STANDALONE */
#if defined(_KERNEL)
-int get_bootconf_option (char *string, char *option, int type, void *result);
-
extern char *boot_args;
extern char *boot_file;
#endif /* _KERNEL */