mirror of
https://review.haiku-os.org/haiku
synced 2025-01-20 13:31:28 +01:00
97901ec593
* Added a few header files in headers/posix/arch that'll allow for an x86_64 haiku target to be compiled. fenv.h is src/lib/msun/amd64/fenv.h from freebsd. * configure: Added support for x86_64 arch when running build_cross_tools_gcc4. * config[_build]/HaikuConfig.h, BuildSetup: Added x86_64 recognition. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36794 a95241bf-73f2-0310-859d-f6bbb57e9c96
46 lines
768 B
C
46 lines
768 B
C
/*
|
|
* Copyright 2002-2007, Haiku, Inc. All Rights Reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _ARCH_SIGNAL_H_
|
|
#define _ARCH_SIGNAL_H_
|
|
|
|
/*
|
|
* Architecture-specific structure passed to signal handlers
|
|
*/
|
|
|
|
#if __x86_64__
|
|
|
|
struct vregs {
|
|
unsigned long rax; /* gp regs */
|
|
unsigned long rdx;
|
|
unsigned long rcx;
|
|
unsigned long rbx;
|
|
unsigned long rsi;
|
|
unsigned long rdi;
|
|
unsigned long rbp;
|
|
unsigned long rsp;
|
|
|
|
unsigned long r8; /* egp regs */
|
|
unsigned long r9;
|
|
unsigned long r10;
|
|
unsigned long r11;
|
|
unsigned long r12;
|
|
unsigned long r13;
|
|
unsigned long r14;
|
|
unsigned long r15;
|
|
|
|
unsigned long rip;
|
|
|
|
/*TODO: add
|
|
* Floatpoint
|
|
* MMX
|
|
* SSE
|
|
*/
|
|
|
|
};
|
|
|
|
#endif /* __x86_64__ */
|
|
|
|
#endif /* _ARCH_SIGNAL_H_ */
|