Changeset 28ecadb in mainline for boot/arch/sparc64/loader/main.c


Ignore:
Timestamp:
2006-09-22T21:44:54Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5d684e4
Parents:
16529d5
Message:

Convert sparc64 to detect keyboard and determine
its physical address by walking the memory representation
of the OpenFirmware device tree.

Add bus-specific functions that know how to apply the
"ranges" property to one component of the "reg" property.
Buses supported so far include FHC, EBUS and PCI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/sparc64/loader/main.c

    r16529d5 r28ecadb  
    6666        bootinfo.screen.scanline = bootinfo.screen.scanline*bpp2align[bootinfo.screen.bpp >> 3];
    6767       
    68         if (!ofw_keyboard(&bootinfo.keyboard))
    69                 printf("Error: unable to get keyboard properties\n");
    70 
    7168        if (!ofw_cpu(&bootinfo.cpu))
    7269                printf("Error: unable to get cpu properties\n");
     
    7673        printf(" memory: %dM\n", bootinfo.memmap.total>>20);
    7774        printf(" screen at %P, resolution %dx%d, %d bpp (scanline %d bytes)\n", (uintptr_t) bootinfo.screen.addr, bootinfo.screen.width, bootinfo.screen.height, bootinfo.screen.bpp, bootinfo.screen.scanline);
    78         printf(" keyboard at %P (size %d bytes)\n", (uintptr_t) bootinfo.keyboard.addr, bootinfo.keyboard.size);
    7975
    8076        printf("\nMemory statistics\n");
Note: See TracChangeset for help on using the changeset viewer.