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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user