;;	Copyright (c) 1993 INTEL CORPORATION 
;;	  All Rights Reserved  	

;;
;;         INTEL CORPORATION PROPRIETARY INFORMATION
;;
;;    This software is supplied under the terms of a license 
;;    agreement or nondisclosure agreement with Intel Corpo-
;;    ration and may not be copied or disclosed except in
;;    accordance with the terms of that agreement.
;;

.286


_TEXT1 SEGMENT

ASSUME CS:_TEXT1,DS:NOTHING

;;;	_Init_Processor - Application processor boot  code
;;
;;	This function is executed by the application processors after
;;	an INIT IPI or STARTUP IPI. This function is added to resolve the 
;;	STARTUP and INIT IPI issues. Some processor supports INIT,  some
;;	supports STARTUP IPI and some processor supports both. The processors
;;	which support both can only be started by STARTUP IPI and  not by
;;	INIT IPI. So to check whether the processor is started this function
;;	is added and it just increments a flag and then jumps to the original
;;	Boot code.
;;
;;
;;	Warning: Init_Processor routine should be the first routine in
;;	in this segment. OS2APIC.C depends on this.

	Public	_Init_Processor
_Init_Processor	Proc
	inc	cs:_Pstarted
	jmp	dword ptr cs:[_org_start_addr]
	ret

	ALIGN	16
	Public	_org_start_addr
_org_start_addr	dd	0
	Public	_Pstarted
_Pstarted	dw	0

_Init_Processor	Endp


_TEXT1 ENDS

END 

