Ticket #4965: ppc-extern-fix.patch
File ppc-extern-fix.patch, 2.9 KB (added by , 14 years ago) |
---|
-
src/tools/makebootable/platform/openfirmware/Jamfile
8 8 # write the stage 1 boot loader into the makebootable resources 9 9 #AddFileDataResource <build>makebootable : RAWT:666:BootCode : stage1.bin ; 10 10 11 #BuildPlatformMain <build>makebootable : makebootable.cpp : $(HOST_LIBBE) ;12 BuildPlatformMain <build>makebootable : makebootable.cpp ;11 BuildPlatformMain <build>makebootable : makebootable.cpp : $(HOST_LIBBE) ; 12 #BuildPlatformMain <build>makebootable : makebootable.cpp ; -
src/system/kernel/arch/ppc/arch_thread.cpp
27 27 static struct arch_thread sInitialState; 28 28 29 29 // Helper function for thread creation, defined in arch_asm.S. 30 extern void ppc_kernel_thread_root();30 extern "C" void ppc_kernel_thread_root(); 31 31 32 extern void ppc_switch_stack_and_call(addr_t newKstack, void (*func)(void *),32 extern "C" void ppc_switch_stack_and_call(addr_t newKstack, void (*func)(void *), 33 33 void *arg); 34 34 35 35 -
src/system/boot/platform/openfirmware/console.cpp
231 231 { 232 232 // Note: We toggle the cursor temporarily to prevent a cursor artifact at 233 233 // at the old location. 234 235 // Note: toggle-cursor is not implimented in qemu openbios-ppc 236 234 237 of_interpret("toggle-cursor" 235 238 " to line#" 236 239 " to column#" … … 273 276 { 274 277 // Note: Toggling the cursor doesn't seem to help. We still get cursor 275 278 // artifacts. 279 280 // Note: toggle-cursor is not implimented in qemu openbios-ppc 281 276 282 of_interpret("toggle-cursor" 277 283 " to foreground-color" 278 284 " to background-color" -
src/system/boot/platform/openfirmware/arch/ppc/cpu.cpp
45 45 if (cpuCount == 0) { 46 46 int cpu = of_finddevice(cpuPath); 47 47 if (cpu == OF_FAILED) { 48 // NOTE: This will always fail on the openbios-ppc prom in qemu. 49 // For some reason the /cpus/PowerPC,750@0 node cannot be entered to 50 // grab its properties and we get a "no such device". Commenting out 51 // all the B_ERROR's below will get you to the point where we try to 52 // draw the boot menu. 48 53 printf("boot_arch_cpu_init: Failed get CPU device node!\n"); 49 54 return B_ERROR; 50 55 }