From 60c2014d86840be1818526c9fdfb7e3332aaeb96 Mon Sep 17 00:00:00 2001 From: mark Date: Mon, 14 Oct 1996 22:30:19 +0000 Subject: [PATCH] Added magic number of bootconfig structure passed from the bootloader. Added a field for the physical address of the display memory used by the bootloader if VRAM is not fitted. Declare the boot_args variable extern here. --- sys/arch/arm32/include/bootconfig.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/arch/arm32/include/bootconfig.h b/sys/arch/arm32/include/bootconfig.h index d7acfddc042b..851b7ac38c7f 100644 --- a/sys/arch/arm32/include/bootconfig.h +++ b/sys/arch/arm32/include/bootconfig.h @@ -1,4 +1,4 @@ -/* $NetBSD: bootconfig.h,v 1.2 1996/03/14 23:11:06 mark Exp $ */ +/* $NetBSD: bootconfig.h,v 1.3 1996/10/14 22:30:19 mark Exp $ */ /* * Copyright (c) 1994 Mark Brinicombe. @@ -80,10 +80,15 @@ typedef struct _BootConfig { u_int framerate; u_char machine_id[4]; + u_int magic; + u_int display_phys; } BootConfig; +#define BOOTCONFIG_MAGIC 0x42301068 + #ifdef _KERNEL extern BootConfig bootconfig; +extern char *boot_args; #endif /* End of bootconfig.h */