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:
authorfadimounir <fadim@microsoft.com>2017-01-25 00:03:57 +0300
committerfadimounir <fadim@microsoft.com>2017-01-25 00:09:39 +0300
commite872bf6989bc5644b996887b46b3897135dc06f2 (patch)
tree7a21812503b69104b2fe024ad085a7613160df9c /src/Native/Runtime/amd64
parentcbaa93ad96be175dfe82e8b1b4538021278ca184 (diff)
Fix headers and unix break
Diffstat (limited to 'src/Native/Runtime/amd64')
-rw-r--r--src/Native/Runtime/amd64/CallDescrWorker.S3
-rw-r--r--src/Native/Runtime/amd64/CallingConventionConverterHelpers.S58
-rw-r--r--src/Native/Runtime/amd64/CallingConventionConverterHelpers.asm8
3 files changed, 64 insertions, 5 deletions
diff --git a/src/Native/Runtime/amd64/CallDescrWorker.S b/src/Native/Runtime/amd64/CallDescrWorker.S
new file mode 100644
index 000000000..1aebb2512
--- /dev/null
+++ b/src/Native/Runtime/amd64/CallDescrWorker.S
@@ -0,0 +1,3 @@
+// 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.
+.intel_syntax noprefix #include <unixasmmacros.inc>
+NESTED_ENTRY RhCallDescrWorker, _TEXT, NoHandler ALTERNATE_ENTRY ReturnFromCallDescrThunk // UNIXTODO: Implement this function int 3 NESTED_END RhCallDescrWorker, _TEXT \ No newline at end of file
diff --git a/src/Native/Runtime/amd64/CallingConventionConverterHelpers.S b/src/Native/Runtime/amd64/CallingConventionConverterHelpers.S
new file mode 100644
index 000000000..10b170863
--- /dev/null
+++ b/src/Native/Runtime/amd64/CallingConventionConverterHelpers.S
@@ -0,0 +1,58 @@
+// 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.
+
+.intel_syntax noprefix
+#include <unixasmmacros.inc>
+
+//
+// void CallingConventionConverter_ReturnVoidReturnThunk()
+//
+LEAF_ENTRY CallingConventionConverter_ReturnVoidReturnThunk, _TEXT
+ ret
+LEAF_END CallingConventionConverter_ReturnVoidReturnThunk, _TEXT
+
+//
+// int CallingConventionConverter_ReturnIntegerReturnThunk(int)
+//
+LEAF_ENTRY CallingConventionConverter_ReturnIntegerReturnThunk, _TEXT
+ // UNIXTODO: Implement this function
+ int 3
+LEAF_END CallingConventionConverter_ReturnIntegerReturnThunk, _TEXT
+
+//
+// Note: The "__jmpstub__" prefix is used to indicate to debugger
+// that it must step-through this stub when it encounters it while
+// stepping.
+//
+
+// __jmpstub__CallingConventionConverter_CommonCallingStub
+//
+//
+// struct CallingConventionConverter_CommonCallingStub_PointerData
+// {
+// void *ManagedCallConverterThunk;
+// void *UniversalThunk;
+// }
+//
+// struct CommonCallingStubInputData
+// {
+// ULONG_PTR CallingConventionId;
+// CallingConventionConverter_CommonCallingStub_PointerData *commonData;
+// }
+//
+// r10 - Points at CommonCallingStubInputData
+//
+//
+LEAF_ENTRY __jmpstub__CallingConventionConverter_CommonCallingStub, _TEXT
+ // UNIXTODO: Implement this function
+ int 3
+LEAF_END __jmpstub__CallingConventionConverter_CommonCallingStub, _TEXT
+
+//
+// void CallingConventionConverter_GetStubs(IntPtr *returnVoidStub, IntPtr *returnIntegerStub, IntPtr *commonStub)
+//
+LEAF_ENTRY CallingConventionConverter_GetStubs, _TEXT
+ // UNIXTODO: Implement this function
+ int 3
+LEAF_END CallingConventionConverter_GetStubs, _TEXT
diff --git a/src/Native/Runtime/amd64/CallingConventionConverterHelpers.asm b/src/Native/Runtime/amd64/CallingConventionConverterHelpers.asm
index 40a4f0fbe..cdf5f85e5 100644
--- a/src/Native/Runtime/amd64/CallingConventionConverterHelpers.asm
+++ b/src/Native/Runtime/amd64/CallingConventionConverterHelpers.asm
@@ -1,8 +1,6 @@
-;; ==++==
-;;
-;; Copyright (c) Microsoft Corporation. All rights reserved.
-;;
-;; ==--==
+;; 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.
;; -----------------------------------------------------------------------------------------------------------
;; #include "asmmacros.inc"