diff options
author | Scott Mosier <smosier@microsoft.com> | 2015-10-14 19:59:44 +0300 |
---|---|---|
committer | Scott Mosier <smosier@microsoft.com> | 2015-10-14 20:50:33 +0300 |
commit | 015b60a6ae813714a6dc576c36df4637880ab897 (patch) | |
tree | 76a3288dffb3ae226b9b2fd77747816f214f65f2 /src/Native/Runtime/PalRedhawk.h | |
parent | 9ceafad81f9c68f16c6be2e11ff609ce9f228ae9 (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.h | 12 |
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; |