1209233Sjchandra/*-
2209233Sjchandra * Copyright (c) 2010 Juli Mallett.
3209233Sjchandra * All rights reserved.
4209233Sjchandra *
5209233Sjchandra * Redistribution and use in source and binary forms, with or without
6209233Sjchandra * modification, are permitted provided that the following conditions
7209233Sjchandra * are met:
8209233Sjchandra * 1. Redistributions of source code must retain the above copyright
9209233Sjchandra *    notice, this list of conditions and the following disclaimer.
10209233Sjchandra * 2. Redistributions in binary form must reproduce the above copyright
11209233Sjchandra *    notice, this list of conditions and the following disclaimer in the
12209233Sjchandra *    documentation and/or other materials provided with the distribution.
13209233Sjchandra *
14209233Sjchandra * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15209233Sjchandra * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16209233Sjchandra * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17209233Sjchandra * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18209233Sjchandra * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19209233Sjchandra * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20209233Sjchandra * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21209233Sjchandra * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22209233Sjchandra * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23209233Sjchandra * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24209233Sjchandra * SUCH DAMAGE.
25209233Sjchandra */
26209233Sjchandra
27209233Sjchandra#include <machine/asm.h>
28209233Sjchandra__FBSDID("$FreeBSD$");
29209233Sjchandra
30209233Sjchandra/*
31209233Sjchandra * XXX gp?
32209233Sjchandra */
33209233SjchandraENTRY(_ctx_start)
34209233Sjchandra	jalr	t9
35209233Sjchandra
36209233Sjchandra	move	a0, s0
37209233Sjchandra	PTR_LA	t9, _ctx_done
38209233Sjchandra	jalr	t9
39209233Sjchandra
40209233Sjchandra	break	0
41209233SjchandraEND(_ctx_start)
42