Removed platform_boot_device_is_image() again; it's now replaced by a field

"booted_from_image" in the kernel_args' boot_disk structure.
Also, added fields "cd" and "user_selected".
A CHOICE_MENU menu can now have a choice text - this is automatically updated
as entries in the menu get selected.
The boot volume menu now has the initial choice text "CD-ROM or hard drive"
in case the boot loader was loaded from an image. The "Rescan volumes" item
is no longer selected by default (only if there was no boot volume found) - but
it's still functionless anyway.
The TAR fs will now appear as "Boot from CD-ROM" in the boot volume menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14388 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-10-14 21:22:19 +00:00
parent 0703480cab
commit 5ea23bb0a3
7 changed files with 34 additions and 9 deletions
@@ -47,6 +47,9 @@ typedef struct kernel_args {
struct {
disk_identifier identifier;
off_t partition_offset;
bool user_selected;
bool booted_from_image;
bool cd;
} boot_disk;
struct driver_settings_file *driver_settings;