27aec1d6cindi * CDDL HEADER START
37aec1d6cindi *
47aec1d6cindi * The contents of this file are subject to the terms of the
520c794bgavinm * Common Development and Distribution License (the "License").
620c794bgavinm * You may not use this file except in compliance with the License.
77aec1d6cindi *
87aec1d6cindi * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97aec1d6cindi * or http://www.opensolaris.org/os/licensing.
107aec1d6cindi * See the License for the specific language governing permissions
117aec1d6cindi * and limitations under the License.
127aec1d6cindi *
137aec1d6cindi * When distributing Covered Code, include this CDDL HEADER in each
147aec1d6cindi * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157aec1d6cindi * If applicable, add the following below this CDDL HEADER, with the
167aec1d6cindi * fields enclosed by brackets "[]" replaced with your own identifying
177aec1d6cindi * information: Portions Copyright [yyyy] [name of copyright owner]
187aec1d6cindi *
197aec1d6cindi * CDDL HEADER END
207aec1d6cindi */
23c84b7bbAdrian Frost * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
24918e0d9Robert Mustacchi * Copyright (c) 2018, Joyent, Inc.
257aec1d6cindi */
26a311483Gerry Liu/*
27a311483Gerry Liu * Copyright (c) 2010, Intel Corporation.
28a311483Gerry Liu * All rights reserved.
29a311483Gerry Liu */
317aec1d6cindi#include <sys/mca_x86.h>
327aec1d6cindi#include <sys/cpu_module_impl.h>
3320c794bgavinm#include <sys/cpu_module_ms.h>
347aec1d6cindi#include <sys/cmn_err.h>
357aec1d6cindi#include <sys/cpuvar.h>
3620c794bgavinm#include <sys/pghw.h>
377aec1d6cindi#include <sys/x86_archext.h>
387aec1d6cindi#include <sys/sysmacros.h>
397aec1d6cindi#include <sys/regset.h>
407aec1d6cindi#include <sys/privregs.h>
417aec1d6cindi#include <sys/systm.h>
427aec1d6cindi#include <sys/types.h>
437aec1d6cindi#include <sys/log.h>
447aec1d6cindi#include <sys/psw.h>
4520c794bgavinm#include <sys/fm/protocol.h>
4620c794bgavinm#include <sys/fm/util.h>
4720c794bgavinm#include <sys/errorq.h>
4820c794bgavinm#include <sys/mca_x86.h>
4920c794bgavinm#include <sys/fm/cpu/GMCA.h>
50074bb90Tom Pothier#include <sys/fm/smb/fmsmb.h>
5120c794bgavinm#include <sys/sysevent.h>
5220c794bgavinm#include <sys/ontrap.h>
53918e0d9Robert Mustacchi#include <sys/smp_impldefs.h>