amaneureka / AtomOS

A multitasking monolithic Kernel based x86 targeting Operating System written in C# from scratch aiming for high-level implementation of drivers in managed environment.
http://www.atomixos.com
BSD 3-Clause "New" or "Revised" License
1.26k stars 85 forks source link

[Compiler] Function Calling Convention #11

Closed amaneureka closed 7 years ago

amaneureka commented 8 years ago

We are pushing arguments to stack in left to right order, which is no standard way. Change it to __cdecl or something better. https://msdn.microsoft.com/en-us/library/984x0h58.aspx

amaneureka commented 8 years ago

Started work on Compiler update on branch CallingConvention.

amaneureka commented 8 years ago

Implemented __stdcall for dllImport 032668fee6f2a548d48212bf541dda03630e9827

amaneureka commented 8 years ago

Compiler related work has been shifted to branch 'Compiler'

amaneureka commented 7 years ago

New Compiler is developed, with std_call convention. issue closed!