Changeset d9b46dd in mainline


Ignore:
Timestamp:
2006-03-14T15:10:01Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
96e08225
Parents:
bc2f26f
Message:

temporal CUDA (VIA 6805) mapping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/loader/main.c

    rbc2f26f rd9b46dd  
    5353       
    5454        // FIXME: map just the kernel
    55         if (ofw_map((void *) KERNEL_PHYSICAL_ADDRESS, (void *) KERNEL_VIRTUAL_ADDRESS, memmap.total - 16 * 1024 * 1024, 0) != 0) {
     55        if (ofw_map((void *) KERNEL_PHYSICAL_ADDRESS, (void *) KERNEL_VIRTUAL_ADDRESS, memmap.total - 64 * 1024 * 1024, 0) != 0) {
    5656                printf("Unable to map kernel memory at %L (physical %L)\n", KERNEL_VIRTUAL_ADDRESS, KERNEL_PHYSICAL_ADDRESS);
    5757                halt();
     
    6161        memcpy((void *) KERNEL_VIRTUAL_ADDRESS, KERNEL_START, KERNEL_SIZE);
    6262       
    63         // FIXME: proper framebuffer mapping
    64         ofw_map((void *) 0x84000000, (void *) 0xf0000000, 2 * 1024 * 1024, 0);
     63        // FIXME: proper hardware detection & mapping
     64        ofw_map((void *) 0x84000000, (void *) 0xf0000000, 0x01000000, 0);
     65        ofw_map((void *) 0x80816000, (void *) 0xf2000000, 0x00018000, 0);
    6566       
    6667        printf("Booting the kernel...\n");
Note: See TracChangeset for help on using the changeset viewer.