GetInterruptState.s revision 4fd606d1f5abe38e1f42c38de1d2e895166bd0f4
2N/A/// @file
2N/A/// Retrieve of the interrupt state of the running processor for the Itanium
2N/A/// architecture.
2N/A///
2N/A/// Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
2N/A/// This program and the accompanying materials
2N/A/// are licensed and made available under the terms and conditions of the BSD License
2N/A/// which accompanies this distribution. The full text of the license may be found at
2N/A/// http://opensource.org/licenses/bsd-license.php.
2N/A///
2N/A/// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
2N/A/// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
2N/A///
2N/A/// Module Name: GetInterruptState.s
2N/A///
2N/A///
2N/A
2N/A.auto
2N/A.text
2N/A
2N/A.proc GetInterruptState
2N/A.type GetInterruptState, @function
2N/AGetInterruptState::
2N/A mov r8 = psr
2N/A extr.u r8 = r8, 14, 1
2N/A br.ret.sptk.many b0
2N/A.endp GetInterruptState
2N/A