- Final ROSRTL removal patch. The next patch will remove the actual library and code.
[reactos.git] / reactos / lib / rosrtl / thread / i386 / stackexit.S
1 .globl _RtlRosSwitchStackForExit@16
2
3 _RtlRosSwitchStackForExit@16:
4 movl 0x10(%esp), %edx /* Parameter */
5 movl 0xC(%esp), %eax /* ExitRoutine */
6 movl 0x8(%esp), %ecx /* StackSize */
7 movl 0x4(%esp), %esp /* StackBase */
8 addl %ecx, %esp
9 subl $0x4, %esp
10 pushl %edx
11 call *%eax
12
13 /* EOF */