Skip to content
Snippets Groups Projects
Commit 72f0aa1e authored by toy's avatar toy
Browse files

Add control-stack checking for Sparc. Based on work from SBCL.

	* lisp/sunos-os.h (PROTECTION_VIOLATION_SIGNAL): Define it for
	stack-checking.

	* lisp/solaris-os.c (segv_handler): Add stack-checking support for
	Solaris.

	* lisp/os.h (os_control_stack_overflow): Give a type name to the
	zone enums (mostly for the debugger).

	* lisp/os-common.c (guard_zones): Add stack-checking support for
	Solaris.
	(os_control_stack_overflow): Add stack-checking support for
	Solaris.

	* lisp/interrupt.c (build_fake_control_stack_frame): New function
	for building a stack frame without the foreign call stuff.  Used
	for stack checking.
	(interrupt_install_low_level_handler): Only need to install
	alternate signal stack for x86.

	* lispinit.lisp:
	(scrub-control-stack): Rename to %scrub-control-stack to match x86
	version so control stack guard is done.

	* parms.lisp (static-symbols): Added new static symbols for
	control stack checking.
parent d8136b51
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment