Mercurial > pub > dyncall > dyncall
comparison dyncall/dyncall_callvm_x86.c @ 339:4f9f49fb82ce
- x64 SysV syscall support
author | Tassilo Philipp |
---|---|
date | Sat, 04 Jan 2020 01:07:49 +0100 |
parents | f5577f6bf97a |
children | ab2d78e48ca2 |
comparison
equal
deleted
inserted
replaced
338:ee2b6e54b074 | 339:4f9f49fb82ce |
---|---|
4 Library: dyncall | 4 Library: dyncall |
5 File: dyncall/dyncall_callvm_x86.c | 5 File: dyncall/dyncall_callvm_x86.c |
6 Description: Call VM for x86 architecture implementation | 6 Description: Call VM for x86 architecture implementation |
7 License: | 7 License: |
8 | 8 |
9 Copyright (c) 2007-2018 Daniel Adler <dadler@uni-goettingen.de>, | 9 Copyright (c) 2007-2020 Daniel Adler <dadler@uni-goettingen.de>, |
10 Tassilo Philipp <tphilipp@potion-studios.com> | 10 Tassilo Philipp <tphilipp@potion-studios.com> |
11 | 11 |
12 Permission to use, copy, modify, and distribute this software for any | 12 Permission to use, copy, modify, and distribute this software for any |
13 purpose with or without fee is hereby granted, provided that the above | 13 purpose with or without fee is hereby granted, provided that the above |
14 copyright notice and this permission notice appear in all copies. | 14 copyright notice and this permission notice appear in all copies. |
590 case DC_CALL_C_X86_WIN32_STD: vt = &gVT_x86_win32_std; break; | 590 case DC_CALL_C_X86_WIN32_STD: vt = &gVT_x86_win32_std; break; |
591 case DC_CALL_C_X86_WIN32_FAST_MS: vt = &gVT_x86_win32_fast_ms; break; | 591 case DC_CALL_C_X86_WIN32_FAST_MS: vt = &gVT_x86_win32_fast_ms; break; |
592 case DC_CALL_C_X86_WIN32_THIS_MS: vt = &gVT_x86_win32_this_ms; break; | 592 case DC_CALL_C_X86_WIN32_THIS_MS: vt = &gVT_x86_win32_this_ms; break; |
593 case DC_CALL_C_X86_WIN32_FAST_GNU: vt = &gVT_x86_win32_fast_gnu; break; | 593 case DC_CALL_C_X86_WIN32_FAST_GNU: vt = &gVT_x86_win32_fast_gnu; break; |
594 case DC_CALL_C_X86_WIN32_THIS_GNU: vt = &gVT_x86_cdecl; break; | 594 case DC_CALL_C_X86_WIN32_THIS_GNU: vt = &gVT_x86_cdecl; break; |
595 case DC_CALL_SYS_DEFAULT: | 595 case DC_CALL_SYS_DEFAULT: |
596 # if defined DC_UNIX | 596 # if defined DC_UNIX |
597 # if defined DC__OS_Linux | 597 # if defined DC__OS_Linux |
598 vt = &gVT_x86_sys_int80h_linux; break; | 598 vt = &gVT_x86_sys_int80h_linux; break; |
599 # else | 599 # else |
600 vt = &gVT_x86_sys_int80h_bsd; break; | 600 vt = &gVT_x86_sys_int80h_bsd; break; |