Changeset d9b46dd in mainline
- Timestamp:
- 2006-03-14T15:10:01Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 96e08225
- Parents:
- bc2f26f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/loader/main.c
rbc2f26f rd9b46dd 53 53 54 54 // 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) { 56 56 printf("Unable to map kernel memory at %L (physical %L)\n", KERNEL_VIRTUAL_ADDRESS, KERNEL_PHYSICAL_ADDRESS); 57 57 halt(); … … 61 61 memcpy((void *) KERNEL_VIRTUAL_ADDRESS, KERNEL_START, KERNEL_SIZE); 62 62 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); 65 66 66 67 printf("Booting the kernel...\n");
Note:
See TracChangeset
for help on using the changeset viewer.