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:
authorFadi Hanna <fadim@microsoft.com>2016-11-03 04:04:16 +0300
committerFadi Hanna <fadim@microsoft.com>2016-11-03 04:04:16 +0300
commitbf89001a6f2743649c9771c45431f9184321d33c (patch)
tree523ab69c162611803dbf17ca199a0069e38f4dde /src/Native/Runtime/portable.cpp
parentccc7c765df2f3afa80c051864e7d7082d09f0182 (diff)
The number of thunk blocks per mapping in CoreRT will be more dynamic. Removing the hardcoded number, and making it into a function call.
[tfs-changeset: 1636433]
Diffstat (limited to 'src/Native/Runtime/portable.cpp')
-rw-r--r--src/Native/Runtime/portable.cpp15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/Native/Runtime/portable.cpp b/src/Native/Runtime/portable.cpp
index a2c0a3064..9f949ec6c 100644
--- a/src/Native/Runtime/portable.cpp
+++ b/src/Native/Runtime/portable.cpp
@@ -342,19 +342,28 @@ COOP_PINVOKE_HELPER(void, RhpMemoryBarrier, ())
PalMemoryBarrier();
}
-COOP_PINVOKE_HELPER(void, RhpGetThunksBase, ())
+COOP_PINVOKE_HELPER(void *, RhpGetThunksBase, ())
{
ASSERT_UNCONDITIONALLY("NYI");
+ return NULL;
}
-COOP_PINVOKE_HELPER(void, RhpGetNumThunksPerBlock, ())
+COOP_PINVOKE_HELPER(int, RhpGetNumThunkBlocksPerMapping, ())
{
ASSERT_UNCONDITIONALLY("NYI");
+ return 0;
}
-COOP_PINVOKE_HELPER(void, RhpGetThunkSize, ())
+COOP_PINVOKE_HELPER(int, RhpGetNumThunksPerBlock, ())
{
ASSERT_UNCONDITIONALLY("NYI");
+ return 0;
+}
+
+COOP_PINVOKE_HELPER(int, RhpGetThunkSize, ())
+{
+ ASSERT_UNCONDITIONALLY("NYI");
+ return 0;
}
COOP_PINVOKE_HELPER(void, RhCallDescrWorker, (void * callDescr))