#
af222f6e |
|
01-Nov-2021 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
kernel/ppc: Fix missing symbols after hrev55605 * Stubs for now with todo's matching sparc port Change-Id: Ie1c0ea523e26fd16066acb26dd83735b89800f31 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4680 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Jessica Hamilton <jessica.l.hamilton@gmail.com> Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
|
#
11642b7f |
|
05-Nov-2015 |
François Revol <revol@free.fr> |
PPC: arch_asm.S: style fix Capitalize TODO & FIXME, gedit prefers those
|
#
ffb9ffb6 |
|
05-Nov-2015 |
François Revol <revol@free.fr> |
PPC: Use FUNCTION_END in arch_asm.S
|
#
3329d8c0 |
|
05-Jun-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Andreas Faerber: Implemented arch_debug_call_with_fault_handler(). That makes the automatic stack traces in case of kernel panics work. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37021 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
924a3e5f |
|
09-Jan-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Removed unused <arch>_switch_stack_and_call() and arch_thread_switch_kstack_and_call(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34971 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4b8d0e68 |
|
03-Aug-2009 |
François Revol <revol@free.fr> |
Some ppc fixes for #4115, patch by kallisti5 (without the #ifdef _BOOT_MODE): - stubbed out arch_cpu_init_percpu(), - make atomic ops declarations extern "C", - move calls to [i]sync inside the asm code that needs it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32067 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7afc16f0 |
|
12-Jan-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Fixed a bug regarding storing/restoring FPSCR in the interrupt code. The stack pointer was not adjusted, hence we were overwriting the previous register value. But it looks like I missed to check in the arch_cpu.h with the iframe structure including the floating point registers anyway. * Backported the ELF PPC relocation code from the boot loader to the kernel. * Fixed the PPC version of arch_thread_switch_kstack_and_call(). Apparently the signature had changed, but the assembly implementation was not adjusted accordingly. * sc prints more registers now (LR, CR, CTR, XER,...). * Fixed several occurences of not-working fault handlers. Apparently the compiler realized, that the "error" label was never jumped to (by the code it knew), and optimized the respective code away. Now we use a trick to make it think the error label might actually be jumped to. I wonder whether the x86 version has the same problem when being compiled with GCC4. * Adopted the x86 page fault handling interrupt code. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15933 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b7ba8a18 |
|
11-Jan-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
We enable the FPU now, store the non-volatile FPU registers on context switches and all FPU registers in an iframe. We might want to rethink this, though. The kernel initialization runs to the end now. No boot volume is found yet, but that is expected. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15908 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9b6eaae2 |
|
10-Jan-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Fixed thread support. The entry and exist functions are now called, too -- introduced a function ppc_kernel_thread_root() which calls the three functions (entry, start, exit) in sequence. This brings us well into the second part of the kernel initialization. * Replaced stmw/lmw in ppc_context_switch() by individual stwu/lwzu sequences. The former ones are documented to perform suboptimal on some architecture implementations. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15904 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2d690920 |
|
13-Apr-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed system/core to system/kernel. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12360 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3329d8c055fb687746e3c0bafedccb108a8930f1 |
|
05-Jun-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Andreas Faerber: Implemented arch_debug_call_with_fault_handler(). That makes the automatic stack traces in case of kernel panics work. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37021 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
924a3e5f9b7a6db6fbe14378ba920c6b943f78e9 |
|
09-Jan-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Removed unused <arch>_switch_stack_and_call() and arch_thread_switch_kstack_and_call(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34971 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4b8d0e68569c871608f13fc5f5f5776a6846a2f2 |
|
03-Aug-2009 |
François Revol <revol@free.fr> |
Some ppc fixes for #4115, patch by kallisti5 (without the #ifdef _BOOT_MODE): - stubbed out arch_cpu_init_percpu(), - make atomic ops declarations extern "C", - move calls to [i]sync inside the asm code that needs it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32067 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7afc16f05918c55f8e6aae8c2b4bd15789d32116 |
|
12-Jan-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Fixed a bug regarding storing/restoring FPSCR in the interrupt code. The stack pointer was not adjusted, hence we were overwriting the previous register value. But it looks like I missed to check in the arch_cpu.h with the iframe structure including the floating point registers anyway. * Backported the ELF PPC relocation code from the boot loader to the kernel. * Fixed the PPC version of arch_thread_switch_kstack_and_call(). Apparently the signature had changed, but the assembly implementation was not adjusted accordingly. * sc prints more registers now (LR, CR, CTR, XER,...). * Fixed several occurences of not-working fault handlers. Apparently the compiler realized, that the "error" label was never jumped to (by the code it knew), and optimized the respective code away. Now we use a trick to make it think the error label might actually be jumped to. I wonder whether the x86 version has the same problem when being compiled with GCC4. * Adopted the x86 page fault handling interrupt code. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15933 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b7ba8a182f8aab6e295cfec30807f2df8d393d18 |
|
11-Jan-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
We enable the FPU now, store the non-volatile FPU registers on context switches and all FPU registers in an iframe. We might want to rethink this, though. The kernel initialization runs to the end now. No boot volume is found yet, but that is expected. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15908 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9b6eaae23480b3742f85ce706944c1268baa9290 |
|
10-Jan-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Fixed thread support. The entry and exist functions are now called, too -- introduced a function ppc_kernel_thread_root() which calls the three functions (entry, start, exit) in sequence. This brings us well into the second part of the kernel initialization. * Replaced stmw/lmw in ppc_context_switch() by individual stwu/lwzu sequences. The former ones are documented to perform suboptimal on some architecture implementations. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15904 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2d690920ac4d0cd27eb3c118fb2b0862615869e0 |
|
13-Apr-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed system/core to system/kernel. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12360 a95241bf-73f2-0310-859d-f6bbb57e9c96
|