Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Mosier <smosier@microsoft.com>2015-10-14 19:59:44 +0300
committerScott Mosier <smosier@microsoft.com>2015-10-14 20:50:33 +0300
commit015b60a6ae813714a6dc576c36df4637880ab897 (patch)
tree76a3288dffb3ae226b9b2fd77747816f214f65f2 /src/Native/Runtime/PalRedhawk.h
parent9ceafad81f9c68f16c6be2e11ff609ce9f228ae9 (diff)
Additional GC-to-EE hookup.
Provide specialized gcenv.h for CoreRT. Some refactoring of related gcenv stuff. Wire up finalizer code. Add runtime-specific scanning code.
Diffstat (limited to 'src/Native/Runtime/PalRedhawk.h')
-rw-r--r--src/Native/Runtime/PalRedhawk.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Native/Runtime/PalRedhawk.h b/src/Native/Runtime/PalRedhawk.h
index d58c99b2e..dfca3bad4 100644
--- a/src/Native/Runtime/PalRedhawk.h
+++ b/src/Native/Runtime/PalRedhawk.h
@@ -106,6 +106,18 @@ struct SYSTEM_INFO
UInt16 wProcessorRevision;
};
+// defined in gcrhenv.cpp
+bool __SwitchToThread(uint32_t dwSleepMSec, uint32_t dwSwitchCount);
+
+// @TODO: also declared in gcenv.h
+struct GCSystemInfo
+{
+ uint32_t dwNumberOfProcessors;
+ uint32_t dwPageSize;
+ uint32_t dwAllocationGranularity;
+};
+extern GCSystemInfo g_SystemInfo;
+
struct OSVERSIONINFOEXW
{
UInt32 dwOSVersionInfoSize;