diff options
Diffstat (limited to 'src/vm/arm64/cgenarm64.cpp')
-rw-r--r-- | src/vm/arm64/cgenarm64.cpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/vm/arm64/cgenarm64.cpp b/src/vm/arm64/cgenarm64.cpp new file mode 100644 index 0000000000..59905bf098 --- /dev/null +++ b/src/vm/arm64/cgenarm64.cpp @@ -0,0 +1,38 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// +// Various helper routines for generating AMD64 assembly code. +// + +// Precompiled Header + +#include "common.h" + +#include "stublink.h" +#include "cgensys.h" +#include "siginfo.hpp" +#include "excep.h" +#include "ecall.h" +#include "dllimport.h" +#include "dllimportcallback.h" +#include "dbginterface.h" +#include "fcall.h" +#include "array.h" +#include "virtualcallstub.h" + +#ifndef DACCESS_COMPILE + +// Note: This is only used on server GC on Windows. + +DWORD GetLogicalCpuCount() +{ + LIMITED_METHOD_CONTRACT; + + // The contact with any callers of this function is that if we're unable to determine + // the processor count, or the number of processors is not distributed evenly, then + // we should return 1. + return 1; +} + +#endif // DACCESS_COMPILE |