1*4fe5b70cSMark Johnston /*- 2*4fe5b70cSMark Johnston * SPDX-License-Identifier: BSD-2-Clause 3*4fe5b70cSMark Johnston * 4*4fe5b70cSMark Johnston * Copyright (c) 2012 NetApp, Inc. 5*4fe5b70cSMark Johnston * All rights reserved. 6*4fe5b70cSMark Johnston * 7*4fe5b70cSMark Johnston * Redistribution and use in source and binary forms, with or without 8*4fe5b70cSMark Johnston * modification, are permitted provided that the following conditions 9*4fe5b70cSMark Johnston * are met: 10*4fe5b70cSMark Johnston * 1. Redistributions of source code must retain the above copyright 11*4fe5b70cSMark Johnston * notice, this list of conditions and the following disclaimer. 12*4fe5b70cSMark Johnston * 2. Redistributions in binary form must reproduce the above copyright 13*4fe5b70cSMark Johnston * notice, this list of conditions and the following disclaimer in the 14*4fe5b70cSMark Johnston * documentation and/or other materials provided with the distribution. 15*4fe5b70cSMark Johnston * 16*4fe5b70cSMark Johnston * THIS SOFTWARE IS PROVIDED BY NETAPP, INC ``AS IS'' AND 17*4fe5b70cSMark Johnston * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18*4fe5b70cSMark Johnston * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19*4fe5b70cSMark Johnston * ARE DISCLAIMED. IN NO EVENT SHALL NETAPP, INC OR CONTRIBUTORS BE LIABLE 20*4fe5b70cSMark Johnston * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21*4fe5b70cSMark Johnston * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22*4fe5b70cSMark Johnston * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23*4fe5b70cSMark Johnston * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24*4fe5b70cSMark Johnston * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25*4fe5b70cSMark Johnston * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26*4fe5b70cSMark Johnston * SUCH DAMAGE. 27*4fe5b70cSMark Johnston */ 28*4fe5b70cSMark Johnston 29*4fe5b70cSMark Johnston #ifndef _MPTBL_H_ 30*4fe5b70cSMark Johnston #define _MPTBL_H_ 31*4fe5b70cSMark Johnston 32*4fe5b70cSMark Johnston int mptable_build(struct vmctx *ctx, int ncpu); 33*4fe5b70cSMark Johnston void mptable_add_oemtbl(void *tbl, int tblsz); 34*4fe5b70cSMark Johnston 35*4fe5b70cSMark Johnston #endif /* _MPTBL_H_ */ 36