Some work on the boot disk identification: the kernel_args structure has

now fields that carry information about the boot disk and partition.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9956 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-11-15 17:59:15 +00:00
parent 0c3888b965
commit b193fcc716
6 changed files with 122 additions and 17 deletions
+12 -6
View File
@@ -1,10 +1,10 @@
/*
** Copyright 2002-2004, The Haiku Team. All rights reserved.
** Distributed under the terms of the Haiku License.
**
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
* Copyright 2002-2004, Axel Dörfler, [email protected].
* Distributed under the terms of the MIT License.
*
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
* Distributed under the terms of the NewOS License.
*/
#ifndef KERNEL_BOOT_KERNEL_ARGS_H
#define KERNEL_BOOT_KERNEL_ARGS_H
@@ -12,6 +12,7 @@
#include <SupportDefs.h>
#include <boot/elf.h>
#include <boot/disk_identifier.h>
#include <platform_kernel_args.h>
#include <arch_kernel_args.h>
@@ -41,6 +42,11 @@ typedef struct kernel_args {
uint32 num_cpus;
addr_range cpu_kstack[MAX_BOOT_CPUS];
struct {
disk_identifier identifier;
off_t partition_offset;
} boot_disk;
struct {
bool enabled;
int32 width;