Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3864 → Rev 3865

/trunk/kernel/arch/sparc64/Makefile.inc
64,7 → 64,9
## Compile with support for framebuffer.
#
 
CONFIG_FB = y
ifeq ($(MACHINE),us)
CONFIG_FB = y
endif
 
## Compile with support for Sun keyboard.
#
117,10 → 119,13
arch/$(ARCH)/src/ddi/ddi.c \
arch/$(ARCH)/src/drivers/tick.c \
arch/$(ARCH)/src/drivers/kbd.c \
arch/$(ARCH)/src/drivers/scr.c \
arch/$(ARCH)/src/drivers/sgcn.c \
arch/$(ARCH)/src/drivers/pci.c
 
ifeq ($(CONFIG_FB),y)
ARCH_SOURCES += \
arch/$(ARCH)/src/drivers/scr.c
endif
 
ifeq ($(CONFIG_SMP),y)
ARCH_SOURCES += \
/trunk/kernel/arch/sparc64/src/console.c
69,6 → 69,7
*/
static void standard_console_init(ofw_tree_node_t *aliases)
{
#ifdef CONFIG_FB
stdin = NULL;
 
ofw_tree_property_t *prop;
96,6 → 97,10
panic("Cannot find %s.", prop->value);
 
kbd_init(keyboard);
#else
panic("Standard console requires FB, "
"but the kernel is not compiled with FB support.");
#endif
}
 
/** Initilize I/O on the Serengeti machine. */
175,7 → 180,9
*/
void arch_grab_console(void)
{
#ifdef CONFIG_FB
scr_redraw();
#endif
switch (kbd_type) {
#ifdef CONFIG_Z8530
case KBD_Z8530: