X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fsgen%2Fsgen-archdep.h;h=274f6dac2fdabdfed67add95ea4a76eaa559f494;hb=a5fcc9413d630aa70743019b012b633f76d9e68c;hp=da6aaf01823c56265c44967c7e78504ec1165670;hpb=f0ad12b3e64494e1d2b35007a3eaec6247f43de1;p=mono.git diff --git a/mono/sgen/sgen-archdep.h b/mono/sgen/sgen-archdep.h index da6aaf01823..274f6dac2fd 100644 --- a/mono/sgen/sgen-archdep.h +++ b/mono/sgen/sgen-archdep.h @@ -1,5 +1,6 @@ -/* - * sgen-archdep.h: Architecture dependent parts of SGen. +/** + * \file + * Architecture dependent parts of SGen. * * Copyright 2001-2003 Ximian, Inc * Copyright 2003-2010 Novell, Inc. @@ -26,7 +27,13 @@ #elif defined(TARGET_AMD64) +#ifdef HOST_WIN32 +/* The Windows x64 ABI defines no "red zone". The ABI states: + "All memory beyond the current address of RSP is considered volatile" */ +#define REDZONE_SIZE 0 +#else #define REDZONE_SIZE 128 +#endif #elif defined(TARGET_POWERPC)