1156952Sume/*- 2156952Sume * Copyright (c) 2012 NetApp, Inc. 3156952Sume * All rights reserved. 4156952Sume * 5156952Sume * Redistribution and use in source and binary forms, with or without 6156952Sume * modification, are permitted provided that the following conditions 7156952Sume * are met: 8156952Sume * 1. Redistributions of source code must retain the above copyright 9156952Sume * notice, this list of conditions and the following disclaimer. 10156952Sume * 2. Redistributions in binary form must reproduce the above copyright 11156952Sume * notice, this list of conditions and the following disclaimer in the 12156952Sume * documentation and/or other materials provided with the distribution. 13156952Sume * 14156952Sume * THIS SOFTWARE IS PROVIDED BY NETAPP, INC ``AS IS'' AND 15156952Sume * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16156952Sume * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17156952Sume * ARE DISCLAIMED. IN NO EVENT SHALL NETAPP, INC OR CONTRIBUTORS BE LIABLE 18156952Sume * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19156952Sume * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20156952Sume * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21156952Sume * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22156952Sume * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23156952Sume * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24156952Sume * SUCH DAMAGE. 25156952Sume * 26156952Sume * $FreeBSD: releng/10.3/usr.sbin/bhyve/spinup_ap.h 240912 2012-09-25 02:33:25Z neel $ 27156952Sume */ 28156952Sume 29156952Sume#ifndef _SPINUP_AP_H_ 30156952Sume#define _SPINUP_AP_H_ 31156952Sume 32156952Sumeint spinup_ap(struct vmctx *ctx, int vcpu, int newcpu, uint64_t rip); 33156952Sume 34156952Sume#endif 35156952Sume