mirror of
				https://github.com/acidanthera/audk.git
				synced 2025-10-30 18:53:45 +01:00 
			
		
		
		
	The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert Ia32/IntHandler.asm to Ia32/IntHandler.nasm. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com>
		
			
				
	
	
		
			29 lines
		
	
	
		
			887 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			887 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
| ;------------------------------------------------------------------------------
 | |
| ;
 | |
| ; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
 | |
| ; This program and the accompanying materials
 | |
| ; 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:
 | |
| ;
 | |
| ;   IntHandler.nasm
 | |
| ;
 | |
| ; Abstract:
 | |
| ;
 | |
| ;   Assembly interrupt handler function.
 | |
| ;
 | |
| ;------------------------------------------------------------------------------
 | |
| 
 | |
| global ASM_PFX(AsmInterruptHandle)
 | |
| 
 | |
| SECTION .text
 | |
| ASM_PFX(AsmInterruptHandle):
 | |
|     cli
 | |
|     mov   al, 1
 | |
|     iretd
 |