Bump BOOTINFO_MAGIC to prevent old kernels (including netbsd-4) crashing
when bootinfo data is passed from newer bootloaders. Note old bootloaders can still load newer kernels.
This commit is contained in:
parent
d25ea6c235
commit
42d0c1b9d0
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bootinfo.h,v 1.5 2008/01/26 14:35:24 tsutsui Exp $ */
|
||||
/* $NetBSD: bootinfo.h,v 1.6 2008/08/08 15:07:52 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997
|
||||
|
@ -29,7 +29,7 @@
|
|||
#ifndef _SGIMIPS_BOOTINFO_H_
|
||||
#define _SGIMIPS_BOOTINFO_H_
|
||||
|
||||
#define BOOTINFO_MAGIC 0x20011121
|
||||
#define BOOTINFO_MAGIC 0x20080808
|
||||
#define BOOTINFO_SIZE 1024
|
||||
|
||||
struct btinfo_common {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: version,v 1.5 2008/03/28 16:40:25 tsutsui Exp $
|
||||
$NetBSD: version,v 1.6 2008/08/08 15:07:52 tsutsui Exp $
|
||||
|
||||
NOTE ANY CHANGES YOU MAKE TO THE BOOTBLOCKS HERE. The format of this
|
||||
file is important - make sure the entries are appended on end, last item
|
||||
|
@ -9,3 +9,4 @@ is taken as the current.
|
|||
1.2: When parsing boot device for type, skip pci(n) -- needed for IP32
|
||||
1.3: Rework bootinfo support
|
||||
1.4: Pass boot device path with a kernel name via BTINFO_BOOTPATH
|
||||
1.5: Bump BOOTINFO_MAGIC to avoid crash on loading old kernels
|
||||
|
|
Loading…
Reference in New Issue