amd64.il revision 94e7edb1e6b194fffd0e7901c0b32e9fc836bc5b
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * CDDL HEADER START
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * The contents of this file are subject to the terms of the
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * Common Development and Distribution License (the "License").
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * You may not use this file except in compliance with the License.
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * See the License for the specific language governing permissions
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * and limitations under the License.
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * When distributing Covered Code, include this CDDL HEADER in each
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * If applicable, add the following below this CDDL HEADER, with the
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * fields enclosed by brackets "[]" replaced with your own identifying
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * information: Portions Copyright [yyyy] [name of copyright owner]
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * CDDL HEADER END
94e7edb1e6b194fffd0e7901c0b32e9fc836bc5blucy wang - Sun Microsystems - Beijing China * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * Use is subject to license terms.
ae115bc77f6fcde83175c75b4206dc2e50747966mrj/ Inline functions specific to the i86pc kernel running on bare metal.
ae115bc77f6fcde83175c75b4206dc2e50747966mrj/ disable interrupts and return value describing if interrupts were enabled
ae115bc77f6fcde83175c75b4206dc2e50747966mrj/ restore interrupt enable flag to value returned from 'clear_int_flag' above
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * Call the halt instruction. This will put the CPU to sleep until
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * it is again awoken via an interrupt.
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * This function should be called with interrupts already disabled
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * for the CPU.
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * Note that "sti" will only enable interrupts at the end of the
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * subsequent instruction...in this case: "hlt".
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)