From bdcd305e19a79dd2d1d3d2b3d208a7c38a6b319a Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Thu, 12 Jan 2006 00:46:35 +0000 Subject: [PATCH] - Remove deprecated file. svn path=/trunk/; revision=20800 --- reactos/ntoskrnl/ke/i386/stkswitch.S | 61 ---------------------------- reactos/ntoskrnl/ntoskrnl.xml | 1 - 2 files changed, 62 deletions(-) delete mode 100644 reactos/ntoskrnl/ke/i386/stkswitch.S diff --git a/reactos/ntoskrnl/ke/i386/stkswitch.S b/reactos/ntoskrnl/ke/i386/stkswitch.S deleted file mode 100644 index 6581d49347a..00000000000 --- a/reactos/ntoskrnl/ke/i386/stkswitch.S +++ /dev/null @@ -1,61 +0,0 @@ -/* - * FILE: ntoskrnl/ke/i386/tskswitch.S - * PURPOSE: Microkernel thread support - * PROGRAMMER: David Welch (welch@cwcom.net) - * UPDATE HISTORY: - * Created 09/10/00 - */ - -/* INCLUDES ******************************************************************/ -#include - -/* FUNCTIONS ****************************************************************/ - -/* - * FUNCTION: KeStackSwitchAndRet - * PURPOSE: Switch to a new stack and return from the first frame on - * the new stack which was assumed to a stdcall function with - * 8 bytes of arguments and which saved edi, esi and ebx. - */ -.globl _KeStackSwitchAndRet@4 -_KeStackSwitchAndRet@4: - pushl %ebp - movl %esp, %ebp - - cli - - movl 8(%ebp), %esp - - sti - - popl %edi - popl %esi - popl %ebx - - popl %ebp - ret $8 - -.globl _KePushAndStackSwitchAndSysRet@8 -_KePushAndStackSwitchAndSysRet@8: - pushl %ebp - movl %esp, %ebp - - pushl %ebx - pushl %esi - pushl %edi - - cli - - pushl 8(%ebp) - - movl %fs:KPCR_CURRENT_THREAD, %ebx - movl %esp, KTHREAD_CALLBACK_STACK(%ebx) - movl 12(%ebp), %esp - - sti - - push $0 - call _KeLowerIrql@4 - - jmp _KiServiceExit - diff --git a/reactos/ntoskrnl/ntoskrnl.xml b/reactos/ntoskrnl/ntoskrnl.xml index 1c37bc86aee..c38c64ec638 100644 --- a/reactos/ntoskrnl/ntoskrnl.xml +++ b/reactos/ntoskrnl/ntoskrnl.xml @@ -35,7 +35,6 @@ irqhand.s kernel.c ldt.c - stkswitch.S syscall.S thread.c tlbflush.S -- 2.17.1