Author: aandrejevic
Date: Sat May 9 23:56:38 2015
New Revision: 67610
URL:
http://svn.reactos.org/svn/reactos?rev=67610&view=rev
Log:
[NTVDM]
Correct the byte order of the magic value: 'PAMS' -> 'SMAP'.
Modified:
trunk/reactos/subsystems/mvdm/ntvdm/bios/bios32/bios32.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/bios/bios32/bios32.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/bios…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/bios/bios32/bios32.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/bios/bios32/bios32.c [iso-8859-1] Sat May 9
23:56:38 2015
@@ -309,7 +309,7 @@
setCX(Above1M);
setDX(Above16M);
}
- else if (getAL() == 0x20 && getEDX() == 'PAMS')
+ else if (getAL() == 0x20 && getEDX() == 'SMAP')
{
ULONG Offset = getEBX();
ULONG Length;
@@ -340,7 +340,7 @@
BytesWritten += sizeof(BIOS_MEMORY_MAP);
}
- setEAX('PAMS');
+ setEAX('SMAP');
setEBX(Offset);
setECX(BytesWritten);
}