From 035078c317dc4477db0130587f722d5bc6bf9f96 Mon Sep 17 00:00:00 2001 From: historic_bruno Date: Tue, 4 Feb 2014 22:30:29 +0000 Subject: [PATCH] Disables checks in os_cpu_LargePageSize Windows implementation, since they failed on Vista SP2 with old Xeon CPU, fixes #2346 This was SVN commit r14731. --- source/lib/sysdep/os/win/wcpu.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/lib/sysdep/os/win/wcpu.cpp b/source/lib/sysdep/os/win/wcpu.cpp index b4c8f882f1..26ecd99225 100644 --- a/source/lib/sysdep/os/win/wcpu.cpp +++ b/source/lib/sysdep/os/win/wcpu.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010 Wildfire Games +/* Copyright (c) 2014 Wildfire Games * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the @@ -118,8 +118,10 @@ size_t os_cpu_LargePageSize() if(pGetLargePageMinimum) { largePageSize = pGetLargePageMinimum(); - ENSURE(largePageSize != 0); // IA-32 and AMD64 definitely support large pages - ENSURE(largePageSize > os_cpu_PageSize()); + // Note: checks disabled due to failing on Vista SP2 with old Xeon CPU + // see http://trac.wildfiregames.com/ticket/2346 + //ENSURE(largePageSize != 0); // IA-32 and AMD64 definitely support large pages + //ENSURE(largePageSize > os_cpu_PageSize()); } // no OS support for large pages else