freebsd-dev/lib/libc/sparc64/sys/assym.s
Jake Burkholder 621136996a Add an alternate signal trampoline to libc; add a wrapper for the sigtramp
install sysarch, to be called from _start.

This will allow the stack to be mapped non-executable, as required by the
sparc v9 abi.
2002-04-29 18:14:44 +00:00

40 lines
716 B
ArmAsm

/*
* Offsets into structures used from asm. Must be kept in sync with
* appropriate headers.
*
* $FreeBSD$
*/
#define FPRS_FEF 0x4
#define CCR_MASK 0xff
#define ASI_MASK 0xff
#define UF_G0 0x0
#define UF_G1 0x8
#define UF_G2 0x10
#define UF_G3 0x18
#define UF_G4 0x20
#define UF_G5 0x28
#define UF_G6 0x30
#define UF_G7 0x38
#define UF_O0 0x40
#define UF_O1 0x48
#define UF_O2 0x50
#define UF_O3 0x58
#define UF_O4 0x60
#define UF_O5 0x68
#define UF_O6 0x70
#define UF_O7 0x78
#define UF_PC 0x80
#define UF_NPC 0x88
#define UF_SFAR 0x90
#define UF_SFSR 0x98
#define UF_TAR 0xa0
#define UF_TYPE 0xa8
#define UF_STATE 0xb0
#define UF_FSR 0xb8
#define UF_SIZEOF 0xc0
#define SF_UC 0x0