amd64.il revision 94e7edb1e6b194fffd0e7901c0b32e9fc836bc5b
843e19887f64dde75055cf8842fc4db2171eff45johnlev * CDDL HEADER START
843e19887f64dde75055cf8842fc4db2171eff45johnlev * The contents of this file are subject to the terms of the
843e19887f64dde75055cf8842fc4db2171eff45johnlev * Common Development and Distribution License (the "License").
843e19887f64dde75055cf8842fc4db2171eff45johnlev * You may not use this file except in compliance with the License.
843e19887f64dde75055cf8842fc4db2171eff45johnlev * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
843e19887f64dde75055cf8842fc4db2171eff45johnlev * See the License for the specific language governing permissions
843e19887f64dde75055cf8842fc4db2171eff45johnlev * and limitations under the License.
843e19887f64dde75055cf8842fc4db2171eff45johnlev * When distributing Covered Code, include this CDDL HEADER in each
843e19887f64dde75055cf8842fc4db2171eff45johnlev * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
843e19887f64dde75055cf8842fc4db2171eff45johnlev * If applicable, add the following below this CDDL HEADER, with the
843e19887f64dde75055cf8842fc4db2171eff45johnlev * fields enclosed by brackets "[]" replaced with your own identifying
843e19887f64dde75055cf8842fc4db2171eff45johnlev * information: Portions Copyright [yyyy] [name of copyright owner]
843e19887f64dde75055cf8842fc4db2171eff45johnlev * CDDL HEADER END
94e7edb1e6b194fffd0e7901c0b32e9fc836bc5blucy wang - Sun Microsystems - Beijing China * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
843e19887f64dde75055cf8842fc4db2171eff45johnlev * Use is subject to license terms.
843e19887f64dde75055cf8842fc4db2171eff45johnlev/ Inline functions for the x64 kernel running on the hypervisor
843e19887f64dde75055cf8842fc4db2171eff45johnlev/* XXPV studio bug r10 is changed to eax by compiler */
843e19887f64dde75055cf8842fc4db2171eff45johnlev * Read the -real- TSC.
843e19887f64dde75055cf8842fc4db2171eff45johnlev * This is difficult to virtualize on the hypervisor given there is
843e19887f64dde75055cf8842fc4db2171eff45johnlev * no way to prevent preemption; thus this inline function
843e19887f64dde75055cf8842fc4db2171eff45johnlev * should only be used in the middle of the paravirtualized
843e19887f64dde75055cf8842fc4db2171eff45johnlev * implementation of tsc_read.
94e7edb1e6b194fffd0e7901c0b32e9fc836bc5blucy wang - Sun Microsystems - Beijing China * prefetch 64 bytes
94e7edb1e6b194fffd0e7901c0b32e9fc836bc5blucy wang - Sun Microsystems - Beijing China .inline prefetch_read_many,8
94e7edb1e6b194fffd0e7901c0b32e9fc836bc5blucy wang - Sun Microsystems - Beijing China prefetcht0 (%rdi)
94e7edb1e6b194fffd0e7901c0b32e9fc836bc5blucy wang - Sun Microsystems - Beijing China prefetcht0 32(%rdi)
94e7edb1e6b194fffd0e7901c0b32e9fc836bc5blucy wang - Sun Microsystems - Beijing China .inline prefetch_read_once,8
94e7edb1e6b194fffd0e7901c0b32e9fc836bc5blucy wang - Sun Microsystems - Beijing China prefetchnta (%rdi)
94e7edb1e6b194fffd0e7901c0b32e9fc836bc5blucy wang - Sun Microsystems - Beijing China prefetchnta 32(%rdi)
94e7edb1e6b194fffd0e7901c0b32e9fc836bc5blucy wang - Sun Microsystems - Beijing China .inline prefetch_write_many,8
94e7edb1e6b194fffd0e7901c0b32e9fc836bc5blucy wang - Sun Microsystems - Beijing China prefetcht0 (%rdi)
94e7edb1e6b194fffd0e7901c0b32e9fc836bc5blucy wang - Sun Microsystems - Beijing China prefetcht0 32(%rdi)
94e7edb1e6b194fffd0e7901c0b32e9fc836bc5blucy wang - Sun Microsystems - Beijing China .inline prefetch_write_once,8
94e7edb1e6b194fffd0e7901c0b32e9fc836bc5blucy wang - Sun Microsystems - Beijing China prefetcht0 (%rdi)