Ignore:
Timestamp:
2006-07-13T17:32:38Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a5f76758
Parents:
63cda71
Message:

Remove OpenFirmware calls from kernel/ entirely.

Switch the sparc64 port to use bootinfo.

Copy memcpy from boot/ to sparc64 kernel/ and
adjust it for memcpy_from/to_uspace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/drivers/i8042.c

    r63cda71 r94d614e  
    3535#include <arch/drivers/i8042.h>
    3636#include <genarch/i8042/i8042.h>
     37#include <arch/boot/boot.h>
    3738#include <arch/types.h>
    3839#include <arch/mm/page.h>
     
    4243void kbd_init()
    4344{
    44         kbd_virt_address = (uint8_t *) hw_map(KBD_PHYS_ADDRESS, LAST_REG);
     45        kbd_virt_address = (uint8_t *) hw_map(bootinfo.keyboard.addr, LAST_REG);
    4546        i8042_init();
    4647}
Note: See TracChangeset for help on using the changeset viewer.