Definitions for NetBSD/landisk port by NONAKA Kimihiro <nonaka@NetBSD.org>

This commit is contained in:
uwe 2006-09-01 21:41:46 +00:00
parent 6fcbfe6950
commit 02fbb03f10
1 changed files with 23 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bootblock.h,v 1.39 2005/12/29 15:25:24 tsutsui Exp $ */
/* $NetBSD: bootblock.h,v 1.40 2006/09/01 21:41:46 uwe Exp $ */
/*-
* Copyright (c) 2002-2004 The NetBSD Foundation, Inc.
@ -1085,6 +1085,28 @@ struct x86_boot_params {
#define X86_BP_CONSDEV_COM2KBD 7
#define X86_BP_CONSDEV_COM3KBD 8
/* ------------------------------------------
* landisk
*/
#if !defined(__ASSEMBLER__) /* { */
/*
* Parameters for NetBSD /boot written to start of pbr code by installboot
*/
struct landisk_boot_params {
uint32_t bp_length; /* length of patchable data */
uint32_t bp_flags;
uint32_t bp_timeout; /* boot timeout in seconds */
uint32_t bp_consdev;
uint32_t bp_conspeed;
};
#endif /* !defined(__ASSEMBLER__) */ /* } */
#define LANDISK_BOOT_MAGIC_1 0x20031125
#define LANDISK_BOOT_MAGIC_2 0x20041110
#if !defined(__ASSEMBLER__) /* { */
/* ------------------------------------------