Changeset 965dc18 in mainline for kernel/arch/ppc32/src/ppc32.c
- Timestamp:
- 2008-12-05T19:59:03Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 49093a4
- Parents:
- 0258e67
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/ppc32.c
r0258e67 r965dc18 95 95 panic("Unsupported bits per pixel"); 96 96 } 97 fb_init(bootinfo.screen.addr, bootinfo.screen.width, bootinfo.screen.height, bootinfo.screen.scanline, visual); 97 fb_properties_t prop = { 98 .addr = bootinfo.screen.addr, 99 .offset = 0, 100 .x = bootinfo.screen.width, 101 .y = bootinfo.screen.height, 102 .scan = bootinfo.screen.scanline, 103 .visual = visual, 104 }; 105 fb_init(&prop); 98 106 99 107 /* Initialize IRQ routing */ … … 104 112 105 113 /* Initialize I/O controller */ 106 cuda_init(device_assign_devno(), bootinfo.keyboard.addr + 0x16000, 2 * PAGE_SIZE); 114 cuda_init(device_assign_devno(), 115 bootinfo.keyboard.addr + 0x16000, 2 * PAGE_SIZE); 107 116 108 117 /* Merge all zones to 1 big zone */ … … 129 138 void userspace(uspace_arg_t *kernel_uarg) 130 139 { 131 userspace_asm((uintptr_t) kernel_uarg->uspace_uarg, (uintptr_t) kernel_uarg->uspace_stack + THREAD_STACK_SIZE - SP_DELTA, (uintptr_t) kernel_uarg->uspace_entry); 140 userspace_asm((uintptr_t) kernel_uarg->uspace_uarg, 141 (uintptr_t) kernel_uarg->uspace_stack + 142 THREAD_STACK_SIZE - SP_DELTA, 143 (uintptr_t) kernel_uarg->uspace_entry); 132 144 133 145 /* Unreachable */
Note:
See TracChangeset
for help on using the changeset viewer.