Changeset 2d69ee6 in mainline
- Timestamp:
- 2006-03-14T11:07:04Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bc2f26f
- Parents:
- 6323989
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/loader/main.c
r6323989 r2d69ee6 53 53 54 54 // FIXME: map just the kernel 55 if (ofw_map((void *) KERNEL_PHYSICAL_ADDRESS, (void *) KERNEL_VIRTUAL_ADDRESS, 1024 * 1024, 0) != 0) {55 if (ofw_map((void *) KERNEL_PHYSICAL_ADDRESS, (void *) KERNEL_VIRTUAL_ADDRESS, memmap.total - 16 * 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(); … … 62 62 63 63 // FIXME: proper framebuffer mapping 64 ofw_map((void *) 0x84000000, (void *) 0x 84000000, 2 * 1024 * 1024, 0);64 ofw_map((void *) 0x84000000, (void *) 0xf0000000, 2 * 1024 * 1024, 0); 65 65 66 66 printf("Booting the kernel...\n");
Note:
See TracChangeset
for help on using the changeset viewer.