20c794b39650d115e17a15983b6b82e46238cf45gavinm * CDDL HEADER START
20c794b39650d115e17a15983b6b82e46238cf45gavinm * The contents of this file are subject to the terms of the
20c794b39650d115e17a15983b6b82e46238cf45gavinm * Common Development and Distribution License (the "License").
20c794b39650d115e17a15983b6b82e46238cf45gavinm * You may not use this file except in compliance with the License.
20c794b39650d115e17a15983b6b82e46238cf45gavinm * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
20c794b39650d115e17a15983b6b82e46238cf45gavinm * See the License for the specific language governing permissions
20c794b39650d115e17a15983b6b82e46238cf45gavinm * and limitations under the License.
20c794b39650d115e17a15983b6b82e46238cf45gavinm * When distributing Covered Code, include this CDDL HEADER in each
20c794b39650d115e17a15983b6b82e46238cf45gavinm * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20c794b39650d115e17a15983b6b82e46238cf45gavinm * If applicable, add the following below this CDDL HEADER, with the
20c794b39650d115e17a15983b6b82e46238cf45gavinm * fields enclosed by brackets "[]" replaced with your own identifying
20c794b39650d115e17a15983b6b82e46238cf45gavinm * information: Portions Copyright [yyyy] [name of copyright owner]
20c794b39650d115e17a15983b6b82e46238cf45gavinm * CDDL HEADER END
c84b7bbef5ecc2a27799422588073deefd9db715Adrian Frost * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
20c794b39650d115e17a15983b6b82e46238cf45gavinmextern "C" {
20c794b39650d115e17a15983b6b82e46238cf45gavinm#define _CMS_API_VERSION(n) (_CMS_API_VERSION_MAGIC | (n))
20c794b39650d115e17a15983b6b82e46238cf45gavinm uint64_t (*cms_mcgctl_val)(cmi_hdl_t, int, uint64_t);
20c794b39650d115e17a15983b6b82e46238cf45gavinm uint64_t (*cms_bankctl_val)(cmi_hdl_t, int, uint64_t);
20c794b39650d115e17a15983b6b82e46238cf45gavinm boolean_t (*cms_bankstatus_skipinit)(cmi_hdl_t, int);
20c794b39650d115e17a15983b6b82e46238cf45gavinm uint64_t (*cms_bankstatus_val)(cmi_hdl_t, int, uint64_t);
20c794b39650d115e17a15983b6b82e46238cf45gavinm uint32_t (*cms_error_action)(cmi_hdl_t, int, int, uint64_t,
c84b7bbef5ecc2a27799422588073deefd9db715Adrian Frost cms_cookie_t (*cms_disp_match)(cmi_hdl_t, int, int, uint64_t, uint64_t,
20c794b39650d115e17a15983b6b82e46238cf45gavinm void (*cms_ereport_class)(cmi_hdl_t, cms_cookie_t, const char **,
20c794b39650d115e17a15983b6b82e46238cf45gavinm const char **);
491f61a1e1c1fc54a47bbcf53dbbbe1293b93b27Yanmin Sun nvlist_t *(*cms_ereport_detector)(cmi_hdl_t, int, cms_cookie_t,
20c794b39650d115e17a15983b6b82e46238cf45gavinm boolean_t (*cms_ereport_includestack)(cmi_hdl_t, cms_cookie_t);
20c794b39650d115e17a15983b6b82e46238cf45gavinm void (*cms_ereport_add_logout)(cmi_hdl_t, nvlist_t *,
20c794b39650d115e17a15983b6b82e46238cf45gavinm nv_alloc_t *, int, uint64_t, uint64_t, uint64_t, void *,
20c794b39650d115e17a15983b6b82e46238cf45gavinm cms_errno_t (*cms_msrinject)(cmi_hdl_t, uint_t, uint64_t);
20c794b39650d115e17a15983b6b82e46238cf45gavinm#endif /* _CPU_MODULE_MS_IMPL_H */