Author: tkreuzer
Date: Sun Jul 15 21:18:43 2012
New Revision: 56903
URL:
http://svn.reactos.org/svn/reactos?rev=56903&view=rev
Log:
[FREELDR]
Don't set the ebp register when doing INTs. We only need the output after the int and
since the REGS structure is usually not fully initialized before calling Int386, we would
load random values. This can cause crashes on VPC.
Thanks to hbelusca fo testing.
Modified:
trunk/reactos/boot/freeldr/freeldr/arch/realmode/int386.inc
Modified: trunk/reactos/boot/freeldr/freeldr/arch/realmode/int386.inc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/arch/realmode/int386.inc [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/arch/realmode/int386.inc [iso-8859-1] Sun Jul 15
21:18:43 2012
@@ -47,7 +47,7 @@
mov edx, dword ptr cs:[BSS_RegisterSet + REGS_EDX]
mov esi, dword ptr cs:[BSS_RegisterSet + REGS_ESI]
mov edi, dword ptr cs:[BSS_RegisterSet + REGS_EDI]
- mov ebp, dword ptr cs:[BSS_RegisterSet + REGS_EBP]
+ // Don't setup ebp, we only use it as output!
/* Call the interrupt vector */
/*int Int386_vector*/