proc64_id.h revision fad5204e207119133cdc503293923b09417b233b
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2008, Intel Corporation
* All rights reserved.
*/
/*
* Portions Copyright 2009 Advanced Micro Devices, Inc.
*/
#ifndef _PROC64_ID_H
#define _PROC64_ID_H
#include <sys/x86_archext.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* Defines to determine what SSE instructions can be used for memops or strops.
*/
/*
* Cache size defaults for Core 2 Duo
*/
/*
* Cache size defaults for AMD SledgeHammer
*/
#ifdef _ASM
.extern .memops_method
#else
void __intel_set_memops_method(long sse_level);
long largest_level_cache);
#endif /* _ASM */
#ifdef __cplusplus
}
#endif
#endif /* _PROC64_ID_H */