Work in progress of the boot loader menu.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8093 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-06-21 15:51:59 +00:00
parent f4390d00f6
commit 99192aa450
2 changed files with 121 additions and 3 deletions
+13 -3
View File
@@ -42,19 +42,29 @@ extern void platform_start_kernel(void);
#ifdef __cplusplus
}
// these functions have to be implemented in C++
/* device functions */
class Node;
namespace boot {
class Partition;
}
/* device functions */
// these functions have to be implemented in C++
extern status_t platform_get_boot_device(struct stage2_args *args, Node **_device);
extern status_t platform_add_block_devices(struct stage2_args *args, NodeList *devicesList);
extern status_t platform_get_boot_partition(struct stage2_args *args, Node *bootDevice,
NodeList *partitions, boot::Partition **_partition);
/* menu functions */
class Menu;
class MenuItem;
extern void platform_add_menus(Menu *menu);
extern void platform_update_menu_item(Menu *menu, MenuItem *item);
extern void platform_run_menu(Menu *menu);
#endif
#endif /* KERNEL_BOOT_PLATFORM_H */