From 9282e7c842120ba2cff1a7e761fc5b3bea770610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Mon, 17 Aug 2015 20:22:10 +0000 Subject: [PATCH] Fix a comment and add something that was forgotten in the previous commit. svn path=/trunk/; revision=68747 --- reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/process.c b/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/process.c index 203481dbbeb..19a8571a490 100644 --- a/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/process.c +++ b/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/process.c @@ -546,7 +546,7 @@ DWORD DosLoadExecutableInternal(IN DOS_EXEC_TYPE LoadType, */ setDX(Segment); setDI(FinalSP); - setBP(0x091E); // DOS base stack pointer relic value + setBP(0x091E); // DOS base stack pointer relic value. In MS-DOS 5.0 and Windows' NTVDM it's 0x091C. This is in fact the old SP value inside DosData disk stack. setSI(FinalIP); setAX(0/*0xFFFF*/); // FIXME: fcbcode @@ -897,7 +897,7 @@ VOID DosTerminateProcess(WORD Psp, BYTE ReturnCode, WORD KeepResident) /* Notify VDDs of process termination */ VDDTerminateUserHook(Psp); - /* Check if this PSP is it's own parent */ + /* Check if this PSP is its own parent */ if (PspBlock->ParentPsp == Psp) goto Done; if (KeepResident == 0)