1240912Sneel/*-
2240912Sneel * Copyright (c) 2012 NetApp, Inc.
3240912Sneel * All rights reserved.
4240912Sneel *
5240912Sneel * Redistribution and use in source and binary forms, with or without
6240912Sneel * modification, are permitted provided that the following conditions
7240912Sneel * are met:
8240912Sneel * 1. Redistributions of source code must retain the above copyright
9240912Sneel *    notice, this list of conditions and the following disclaimer.
10240912Sneel * 2. Redistributions in binary form must reproduce the above copyright
11240912Sneel *    notice, this list of conditions and the following disclaimer in the
12240912Sneel *    documentation and/or other materials provided with the distribution.
13240912Sneel *
14240912Sneel * THIS SOFTWARE IS PROVIDED BY NETAPP, INC ``AS IS'' AND
15240912Sneel * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16240912Sneel * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17240912Sneel * ARE DISCLAIMED.  IN NO EVENT SHALL NETAPP, INC OR CONTRIBUTORS BE LIABLE
18240912Sneel * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19240912Sneel * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20240912Sneel * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21240912Sneel * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22240912Sneel * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23240912Sneel * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24240912Sneel * SUCH DAMAGE.
25240912Sneel *
26240912Sneel * $FreeBSD: releng/11.0/usr.sbin/bhyve/spinup_ap.h 240912 2012-09-25 02:33:25Z neel $
27240912Sneel */
28240912Sneel
29240912Sneel#ifndef	_SPINUP_AP_H_
30240912Sneel#define	_SPINUP_AP_H_
31240912Sneel
32240912Sneelint spinup_ap(struct vmctx *ctx, int vcpu, int newcpu, uint64_t rip);
33240912Sneel
34240912Sneel#endif
35