1/*- 2 * Copyright (c) 2000 Peter Wemm <peter@FreeBSD.org> 3 * Copyright (c) 2003 Alan L. Cox <alc@cs.rice.edu> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <machine/asm.h> |
29__FBSDID("$FreeBSD: head/lib/libc/amd64/gen/rfork_thread.S 240178 2012-09-06 20:59:49Z jilles $"); |
30 31/* 32 * With thanks to John Dyson for the original version of this. 33 */ 34 35#include <SYS.h> 36 37/* --- 50 unchanged lines hidden (view full) --- 88 KERNCALL 89 90 /* 91 * Branch here if the thread creation fails: 92 */ 932: 94 popq %r12 95 popq %rbx |
96 jmp HIDENAME(cerror) |
97END(rfork_thread) 98 99 .section .note.GNU-stack,"",%progbits |