Changeset b3e8c90 in mainline for kernel/arch/sparc64/src/console.c


Ignore:
Timestamp:
2006-08-01T11:24:27Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e386cbf
Parents:
c049309
Message:

sparc64 work.

  1. Formatting fixes.
  2. When writing to DMMU ASI's, simple membar() can be used in place of flush().
  3. Substantial changes in the way the TLB is taken over.
  4. Remove unneeded functions.

This is the first revision that also runs on a real world Ultra 5 with UltraSPARC IIi
processor.

Note that 3. needs further work as the current implementation depends on the fact
that the compiler will use registers for local variables in take_over_tlb_and_tt().
Rewrite of that function into assembly is to follow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/console.c

    rc049309 rb3e8c90  
    5555        stdin = NULL;
    5656
    57         kbd_init();
     57        if (bootinfo.keyboard.addr)
     58                kbd_init();
     59               
    5860        fb_init(bootinfo.screen.addr, bootinfo.screen.width, bootinfo.screen.height,
    5961                bootinfo.screen.bpp, bootinfo.screen.scanline);
     
    6668void kkbdpoll(void *arg)
    6769{
     70        if (!bootinfo.keyboard.addr)
     71                return;
     72               
    6873        while (1) {
    6974                i8042_poll();           
Note: See TracChangeset for help on using the changeset viewer.