1112963Sjake/*-
2112963Sjake * Copyright (c) 2003 Jake Burkholder.
3112963Sjake * All rights reserved.
4112963Sjake *
5112963Sjake * Redistribution and use in source and binary forms, with or without
6112963Sjake * modification, are permitted provided that the following conditions
7112963Sjake * are met:
8112963Sjake * 1. Redistributions of source code must retain the above copyright
9112963Sjake *    notice, this list of conditions and the following disclaimer.
10112963Sjake * 2. Redistributions in binary form must reproduce the above copyright
11112963Sjake *    notice, this list of conditions and the following disclaimer in the
12112963Sjake *    documentation and/or other materials provided with the distribution.
13112963Sjake *
14112963Sjake * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15112963Sjake * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16112963Sjake * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17112963Sjake * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18112963Sjake * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19112963Sjake * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20112963Sjake * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21112963Sjake * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22112963Sjake * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23112963Sjake * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24112963Sjake * SUCH DAMAGE.
25112963Sjake */
26112963Sjake
27112963Sjake#include <machine/asm.h>
28112963Sjake__FBSDID("$FreeBSD$");
29112963Sjake
30112963SjakeENTRY(_ctx_start)
31112963Sjake	call	%g1
32112963Sjake	 mov	%g2, %l0
33112963Sjake	call	_ctx_done
34112963Sjake	 mov	%l0, %o0
35112963Sjake	illtrap
36112963SjakeEND(_ctx_start)
37