17aec1d6cindi/*
27aec1d6cindi * CDDL HEADER START
37aec1d6cindi *
47aec1d6cindi * The contents of this file are subject to the terms of the
53ad553agavinm * Common Development and Distribution License (the "License").
63ad553agavinm * 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 */
217aec1d6cindi
227aec1d6cindi/*
23e3d60c9Adrian Frost * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
247aec1d6cindi * Use is subject to license terms.
25918e0d9Robert Mustacchi * Copyright (c) 2018, Joyent, Inc.
267aec1d6cindi */
27a311483Gerry Liu/*
28a311483Gerry Liu * Copyright (c) 2010, Intel Corporation.
29a311483Gerry Liu * All rights reserved.
30a311483Gerry Liu */
317aec1d6cindi
327aec1d6cindi/*
3315c07adJohn Levon * Copyright (c) 2018, Joyent, Inc.
34b445c7cAndrew Stormont * Copyright 2020 RackTop Systems, Inc.
3515c07adJohn Levon */
3615c07adJohn Levon
3715c07adJohn Levon/*
387aec1d6cindi * Generic x86 CPU Module
397aec1d6cindi *
407aec1d6cindi * This CPU module is used for generic x86 CPUs when Solaris has no other
417aec1d6cindi * CPU-specific support module available.  Code in this module should be the
427aec1d6cindi * absolute bare-bones support and must be cognizant of both Intel and AMD etc.
437aec1d6cindi */
447aec1d6cindi
457aec1d6cindi#include <sys/types.h>
467aec1d6cindi#include <sys/cpu_module_impl.h>
477aec1d6cindi#include <sys/cpuvar.h>
487aec1d6cindi#include <sys/kmem.h>
49