Makefile.workarounds revision 4496171313bed39e96f21bc2f9faf2868e267ae3
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# CDDL HEADER START
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# The contents of this file are subject to the terms of the
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# Common Development and Distribution License (the "License").
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# You may not use this file except in compliance with the License.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# or http://www.opensolaris.org/os/licensing.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# See the License for the specific language governing permissions
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# and limitations under the License.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# When distributing Covered Code, include this CDDL HEADER in each
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# If applicable, add the following below this CDDL HEADER, with the
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# fields enclosed by brackets "[]" replaced with your own identifying
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# information: Portions Copyright [yyyy] [name of copyright owner]
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# CDDL HEADER END
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# uts/sun4v/Makefile.workarounds
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# Use is subject to license terms.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#ident "%Z%%M% %I% %E% SMI"
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# This makefile contains workaround defines to be shared
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# by Makefile.sun4v and the sun4v genunix Makefile.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiWORKAROUND_DEFS =
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiWORKAROUND_DEFS += -DQCN_POLLING # XXXQ
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiWORKAROUND_DEFS += -DDO_CORELEVEL_LOADBAL
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# The following is required to support Niagara2 1.0
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiWORKAROUND_DEFS += -DN2_ERRATUM_49 # %stick_compare{6:0} ignored
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiWORKAROUND_DEFS += -DN2_IDLE_WORKAROUND
0eb822a1c0c2bea495647510b75f77f0e57633ebcindiWORKAROUND_DEFS += -DN2_ERRATUM_112 # multiple traps for 1 event
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindiWORKAROUND_DEFS += -DN2_ERRATUM_134 # PMU doesn't set OV bit
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi