Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 1841 → Rev 1842

/trunk/kernel/arch/sparc64/src/console.c
37,8 → 37,15
#include <typedefs.h>
#include <genarch/fb/fb.h>
#include <arch/drivers/fb.h>
#include <arch/drivers/i8042.h>
#include <genarch/i8042/i8042.h>
 
#include <arch/drivers/kbd.h>
#ifdef CONFIG_Z8530
#include <genarch/kbd/z8530.h>
#endif
#ifdef CONFIG_16550A
#include <genarch/kbd/16550a.h>
#endif
 
#include <console/chardev.h>
#include <console/console.h>
#include <arch/asm.h>
71,7 → 78,12
return;
while (1) {
i8042_poll();
#ifdef CONFIG_Z8530
z8530_poll();
#endif
#ifdef CONFIG_16550A
16550a_poll();
#endif
thread_usleep(KEYBOARD_POLL_PAUSE);
}
}
/trunk/kernel/arch/sparc64/src/mm/tlb.c
47,9 → 47,6
#include <arch/asm.h>
#include <symtab.h>
 
#include <arch/drivers/fb.h>
#include <arch/drivers/i8042.h>
 
char *context_encoding[] = {
"Primary",
"Secondary",
60,8 → 57,7
void tlb_arch_init(void)
{
/*
* TLBs are actually initialized by
* take_over_tlb_and_tt() early
* TLBs are actually initialized early
* in start.S.
*/
}
/trunk/kernel/arch/sparc64/src/drivers/kbd.c
32,6 → 32,7
/** @file
*/
 
#include <arch/drivers/kbd.h>
#ifdef CONFIG_Z8530
#include <genarch/kbd/z8530.h>
#endif
38,10 → 39,12
#ifdef CONFIG_16650A
#include <genarch/kbd/16650a.h>
#endif
 
#include <arch/boot/boot.h>
#include <arch/mm/page.h>
#include <arch/types.h>
#include <typedefs.h>
#include <align.h>
 
volatile uint8_t *kbd_virt_address = NULL;
 
50,6 → 53,9
size_t offset;
uintptr_t aligned_addr;
 
/* FIXME: supply value read from OpenFirmware */
bootinfo.keyboard.size = 8;
 
/*
* We need to pass aligned address to hw_map().
* However, the physical keyboard address can