Added (empty) missing video and menu functions to make the boot loader build again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8591 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -11,6 +11,7 @@ KernelMergeObject boot_platform_openfirmware.o :
|
|||||||
<$(SOURCE_GRIST)>console.cpp
|
<$(SOURCE_GRIST)>console.cpp
|
||||||
<$(SOURCE_GRIST)>heap.cpp
|
<$(SOURCE_GRIST)>heap.cpp
|
||||||
<$(SOURCE_GRIST)>video.cpp
|
<$(SOURCE_GRIST)>video.cpp
|
||||||
|
<$(SOURCE_GRIST)>menu.cpp
|
||||||
:
|
:
|
||||||
: boot_platform_openfirmware_$(OBOS_ARCH).a
|
: boot_platform_openfirmware_$(OBOS_ARCH).a
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
** Copyright 2004, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
|
** Distributed under the terms of the Haiku License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include <boot/platform.h>
|
||||||
|
#include <boot/menu.h>
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
platform_add_menus(Menu *menu)
|
||||||
|
{
|
||||||
|
// ToDo: implement me!
|
||||||
|
|
||||||
|
switch (menu->Type()) {
|
||||||
|
case MAIN_MENU:
|
||||||
|
break;
|
||||||
|
case SAFE_MODE_MENU:
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
platform_update_menu_item(Menu *menu, MenuItem *item)
|
||||||
|
{
|
||||||
|
if (menu->IsHidden())
|
||||||
|
return;
|
||||||
|
|
||||||
|
// ToDo: implement me!
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
platform_run_menu(Menu *menu)
|
||||||
|
{
|
||||||
|
// ToDo: implement me!
|
||||||
|
}
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2004, Axel Dörfler, [email protected]. All rights reserved.
|
** Copyright 2004, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the Haiku License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -20,3 +20,11 @@ platform_switch_to_text_mode(void)
|
|||||||
// ToDo: implement me
|
// ToDo: implement me
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
extern "C" status_t
|
||||||
|
platform_init_video(void)
|
||||||
|
{
|
||||||
|
// ToDo: implement me
|
||||||
|
return B_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user