Changeset 75a3095 in mainline for arch/ppc32/loader/main.c


Ignore:
Timestamp:
2006-03-12T17:16:47Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3998ab2
Parents:
91aba7f
Message:

fix various ppc32 bootloader bugs

File:
1 edited

Legend:

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

    r91aba7f r75a3095  
    3939void bootstrap(void)
    4040{
    41         printf("\nHelenOS PPC Bootloader\nKernel size %d bytes, load address %L\n", KERNEL_SIZE, KERNEL_LOAD_ADDRESS);
     41        printf("\nHelenOS PPC Bootloader\nLoaded at %L\nKernel size %d bytes, load address %L\n", &start, KERNEL_SIZE, KERNEL_LOAD_ADDRESS);
    4242       
    4343        void *addr = ofw_claim((void *) KERNEL_LOAD_ADDRESS, KERNEL_SIZE, 1);
     
    4646                halt();
    4747        }
     48        printf("Claimed memory at %L\n", addr);
    4849        memcpy(addr, KERNEL_START, KERNEL_SIZE);
    4950       
Note: See TracChangeset for help on using the changeset viewer.