haiku/headers/private/kernel/arch/ppc/arch_debug.h
Andreas Färber d46ce4d62a kernel_ppc: Save caller's stack pointer in arch_debug_save_registers
Suggested by Ingo in ticket #6139. Code is adapted from x86.
Note that on ppc64 GPR1 needs to be 64-bit, thus the choice of addr_t.

Resolves part of ticket #6160.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-27 20:16:59 +00:00

18 lines
291 B
C

/*
* Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de.
* Distributed under the terms of the MIT License.
*/
#ifndef _KERNEL_ARCH_PPC_DEBUG_H
#define _KERNEL_ARCH_PPC_DEBUG_H
#include <SupportDefs.h>
struct arch_debug_registers {
addr_t r1;
};
#endif // _KERNEL_ARCH_PPC_DEBUG_H