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:
Axel Dörfler 2004-08-16 15:21:23 +00:00
parent e4d07a3e71
commit 8dd184dc16
3 changed files with 52 additions and 1 deletions

View File

@ -11,6 +11,7 @@ KernelMergeObject boot_platform_openfirmware.o :
<$(SOURCE_GRIST)>console.cpp
<$(SOURCE_GRIST)>heap.cpp
<$(SOURCE_GRIST)>video.cpp
<$(SOURCE_GRIST)>menu.cpp
:
: boot_platform_openfirmware_$(OBOS_ARCH).a
;

View File

@ -0,0 +1,42 @@
/*
** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. 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!
}

View File

@ -1,6 +1,6 @@
/*
** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. 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
}
extern "C" status_t
platform_init_video(void)
{
// ToDo: implement me
return B_OK;
}