Changeset 75a3095 in mainline for arch/ppc32/loader/main.c
- Timestamp:
- 2006-03-12T17:16:47Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3998ab2
- Parents:
- 91aba7f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/loader/main.c
r91aba7f r75a3095 39 39 void bootstrap(void) 40 40 { 41 printf("\nHelenOS PPC Bootloader\n Kernel 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); 42 42 43 43 void *addr = ofw_claim((void *) KERNEL_LOAD_ADDRESS, KERNEL_SIZE, 1); … … 46 46 halt(); 47 47 } 48 printf("Claimed memory at %L\n", addr); 48 49 memcpy(addr, KERNEL_START, KERNEL_SIZE); 49 50
Note:
See TracChangeset
for help on using the changeset viewer.