2007-06-22 05:21:45 +02:00
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
#
|
2010-04-23 18:00:47 +02:00
|
|
|
# Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
|
|
|
# This program and the accompanying materials
|
2007-06-22 05:21:45 +02:00
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
#
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
# Module Name:
|
|
|
|
#
|
2008-10-23 08:20:02 +02:00
|
|
|
# Monitor.S
|
2007-06-22 05:21:45 +02:00
|
|
|
#
|
|
|
|
# Abstract:
|
|
|
|
#
|
|
|
|
# AsmMonitor function
|
|
|
|
#
|
|
|
|
# Notes:
|
|
|
|
#
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
2009-05-20 12:22:09 +02:00
|
|
|
ASM_GLOBAL ASM_PFX(AsmMonitor)
|
2007-06-22 05:21:45 +02:00
|
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# UINT64
|
|
|
|
# EFIAPI
|
|
|
|
# AsmMonitor (
|
|
|
|
# IN UINTN Eax,
|
|
|
|
# IN UINTN Ecx,
|
|
|
|
# IN UINTN Edx
|
|
|
|
# );
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
ASM_PFX(AsmMonitor):
|
|
|
|
movl 4(%esp), %eax
|
|
|
|
movl 8(%esp), %ecx
|
|
|
|
movl 12(%esp), %edx
|
2008-10-28 10:51:44 +01:00
|
|
|
monitor %eax, %ecx, %edx # monitor
|
2007-06-22 05:21:45 +02:00
|
|
|
ret
|