]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove limitation of 6 arguments for makecontext() on mips.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 31 Jan 2018 18:00:23 +0000 (18:00 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 31 Jan 2018 18:00:23 +0000 (18:00 +0000)
commitb16fa5e7186b979da77669519ebe221feee26c03
tree7ccaa085724e9cec40ca7ad221ddbdcc6390ebed
parent80996ef878236f1a79ec55daadec150981b57901
Remove limitation of 6 arguments for makecontext() on mips.

This implementation spills additional arguments on the stack so works
fine with more than 6 arguments.  I believe the check was just copied
over from sparc64 (which doesn't support spilling onto the stack)

Sponsored by: DARPA / AFRL
lib/libc/mips/gen/makecontext.c