Changeset 272c219 in mainline for arch/ppc32/loader/main.c


Ignore:
Timestamp:
2006-03-13T18:42:58Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eebd172
Parents:
8cbe350
Message:

cleanup and extend OFW code

File:
1 edited

Legend:

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

    r8cbe350 r272c219  
    3939void bootstrap(void)
    4040{
    41         printf("\nHelenOS PPC Bootloader\nLoaded at %L\nKernel size %d bytes, load address %L\n", &start, KERNEL_SIZE, KERNEL_LOAD_ADDRESS);
     41        printf("\nHelenOS PPC Bootloader\n");
     42       
     43        void *loader = ofw_translate(&start);
     44        printf("loaded at %L (physical %L)\n", &start, loader);
     45        printf("kernel load address %L (size %d)\n", KERNEL_LOAD_ADDRESS, KERNEL_SIZE);
    4246       
    4347        void *addr = ofw_claim((void *) KERNEL_LOAD_ADDRESS, KERNEL_SIZE, 1);
Note: See TracChangeset for help on using the changeset viewer.