2 * FILE: hal/halx86/up/pic.S
3 * COPYRIGHT: See COPYING in the top level directory
4 * PURPOSE: HAL PIC Management and Control Code
5 * PROGRAMMER: Thomas Faber (thomas.faber@reactos.org)
8 /* INCLUDES ******************************************************************/
14 EXTERN _HalpEndSoftwareInterrupt2@8:PROC
16 /* GLOBALS *******************************************************************/
19 ASSUME CS:NOTHING, DS:NOTHING, ES:NOTHING, FS:NOTHING, GS:NOTHING
21 /* FUNCTIONS *****************************************************************/
24 PUBLIC _HalpEndSoftwareInterrupt@8
25 .PROC _HalpEndSoftwareInterrupt@8
26 FPO 0, 2, 0, 0, 0, FRAME_FPO
28 /* Call the C function with the same arguments we got */
31 call _HalpEndSoftwareInterrupt2@8
33 /* Check if we got a pointer back */
41 /* We got a pointer to call. Since it won't return, free up our stack
42 space, or we could end up with some nasty deep recursion */