mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Temporary fix to prevent a crash when running in VMware (and possibly bochs too)
svn path=/trunk/; revision=2060
This commit is contained in:
parent
5b04ae25a4
commit
20da260a3c
1 changed files with 6 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: main.c,v 1.100 2001/07/12 17:23:42 ekohl Exp $
|
||||
/* $Id: main.c,v 1.101 2001/07/14 21:10:31 chorns Exp $
|
||||
*
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: ntoskrnl/ke/main.c
|
||||
|
@ -758,6 +758,11 @@ _main (ULONG MultiBootMagic, PLOADER_PARAMETER_BLOCK _LoaderBlock)
|
|||
LastKrnlPhysAddr = last_kernel_address - 0xc0000000 + 0x200000;
|
||||
LastKernelAddress = last_kernel_address;
|
||||
|
||||
#ifndef ACPI
|
||||
/* FIXME: VMware does not like it when ReactOS is using the BIOS memory map */
|
||||
KeLoaderBlock.Flags &= ~MB_FLAGS_MMAP_INFO;
|
||||
#endif
|
||||
|
||||
KeMemoryMapRangeCount = 0;
|
||||
if (KeLoaderBlock.Flags & MB_FLAGS_MMAP_INFO)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue