Blame src/process/nt32/tt_fork_v1.s

dd89bb
##########################################################
dd89bb
##  ntapi: Native API core library                      ##
dd89bb
##  Copyright (C) 2013,2014,2015  Z. Gilboa             ##
dd89bb
##  Released under GPLv2 and GPLv3; see COPYING.NTAPI.  ##
dd89bb
##########################################################
dd89bb
dd89bb
.section .text
dd89bb
4a7601
.global ___tt_fork_v1
dd89bb
.global ___tt_fork_child_entry_point
dd89bb
.global @__tt_fork_child_entry_point@4
dd89bb
.global ___tt_fork_child_entry_point_adj
dd89bb
.global @__tt_fork_child_entry_point_adj@4
dd89bb
4a7601
___tt_fork_v1:
dd89bb
___tt_fork_prolog:
dd89bb
	push	%ebp
dd89bb
	mov	%esp, %ebp
dd89bb
dd89bb
___tt_fork_save_regs:
dd89bb
	push	%ecx
dd89bb
	push	%edx
dd89bb
	push	%ebx
dd89bb
	push	%esi
dd89bb
	push	%edi
dd89bb
dd89bb
___tt_fork_impl_call:
dd89bb
	mov	%esp, %ecx
dd89bb
	mov	$0,   %edx
4a7601
	call @__tt_fork_impl_v1@8
dd89bb
dd89bb
___tt_fork_restore_regs:
dd89bb
	pop	%edi
dd89bb
	pop	%esi
dd89bb
	pop	%ebx
dd89bb
	pop	%edx
dd89bb
	pop	%ecx
dd89bb
dd89bb
___tt_fork_epilog:
dd89bb
	mov	%ebp, %esp
dd89bb
	pop	%ebp
dd89bb
	ret
dd89bb
dd89bb
___tt_fork_child_entry_point:
dd89bb
@__tt_fork_child_entry_point@4:
dd89bb
___tt_fork_child_entry_point_adj:
dd89bb
@__tt_fork_child_entry_point_adj@4:
dd89bb
	xor	%eax, %eax
dd89bb
	mov	%ecx, %esp
dd89bb
dd89bb
___tt_fork_child_restore_regs:
dd89bb
	pop	%edi
dd89bb
	pop	%esi
dd89bb
	pop	%ebx
dd89bb
	pop	%edx
dd89bb
	pop	%ecx
dd89bb
dd89bb
___tt_fork_child_epilog:
dd89bb
	pop	%ebp
dd89bb
	ret