mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-12 05:59:10 +00:00
Get LIBC_RUNTIME and LIBC_CALLS building on aarch64
This commit is contained in:
parent
7e46645193
commit
e5e3cdf447
1200 changed files with 5341 additions and 3677 deletions
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_AdjustWindowRect,AdjustWindowRect,1507
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
AdjustWindowRect:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_AdjustWindowRect(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn AdjustWindowRect,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_AnimateWindow,AnimateWindow,1513
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
AnimateWindow:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_AnimateWindow(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn AnimateWindow,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_AppendMenuA,AppendMenuA,1515
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
AppendMenuA:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_AppendMenuA(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn AppendMenuA,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_AppendMenuW,AppendMenuW,1516
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
AppendMenu:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_AppendMenuW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn AppendMenu,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_BeginPaint,BeginPaint,1521
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
BeginPaint:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_BeginPaint(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn BeginPaint,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_BringWindowToTop,BringWindowToTop,1523
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
BringWindowToTop:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ BringWindowToTop:
|
|||
sub $32,%rsp
|
||||
call *__imp_BringWindowToTop(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn BringWindowToTop,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_CallNextHookEx,CallNextHookEx,1535
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
CallNextHookEx:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_CallNextHookEx(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn CallNextHookEx,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_CloseWindow,CloseWindow,1591
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
CloseWindow:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ CloseWindow:
|
|||
sub $32,%rsp
|
||||
call *__imp_CloseWindow(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn CloseWindow,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_CreateIconIndirect,CreateIconIndirect,1618
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
CreateIconIndirect:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ CreateIconIndirect:
|
|||
sub $32,%rsp
|
||||
call *__imp_CreateIconIndirect(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn CreateIconIndirect,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,16 +1,18 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_CreateMenu,CreateMenu,1621
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
CreateMenu:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
sub $32,%rsp
|
||||
call *__imp_CreateMenu(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn CreateMenu,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,16 +1,18 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_CreatePopupMenu,CreatePopupMenu,1622
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
CreatePopupMenu:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
sub $32,%rsp
|
||||
call *__imp_CreatePopupMenu(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn CreatePopupMenu,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_CreateWindowExW,CreateWindowExW,1625
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
CreateWindowEx:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_CreateWindowExW(%rip),%rax
|
||||
jmp __sysv2nt12
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn CreateWindowEx,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_DefWindowProcW,DefWindowProcW,174
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
DefWindowProc:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_DefWindowProcW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn DefWindowProc,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_DeleteMenu,DeleteMenu,1681
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
DeleteMenu:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_DeleteMenu(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn DeleteMenu,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_DestroyIcon,DestroyIcon,1687
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
DestroyIcon:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ DestroyIcon:
|
|||
sub $32,%rsp
|
||||
call *__imp_DestroyIcon(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn DestroyIcon,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_DestroyMenu,DestroyMenu,1688
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
DestroyMenu:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ DestroyMenu:
|
|||
sub $32,%rsp
|
||||
call *__imp_DestroyMenu(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn DestroyMenu,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_DestroyWindow,DestroyWindow,1690
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
DestroyWindow:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ DestroyWindow:
|
|||
sub $32,%rsp
|
||||
call *__imp_DestroyWindow(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn DestroyWindow,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_DispatchMessageW,DispatchMessageW,1698
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
DispatchMessage:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ DispatchMessage:
|
|||
sub $32,%rsp
|
||||
call *__imp_DispatchMessageW(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn DispatchMessage,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_DrawTextExW,DrawTextExW,1730
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
DrawTextEx:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_DrawTextExW(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn DrawTextEx,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_DrawTextW,DrawTextW,1731
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
DrawText:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_DrawTextW(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn DrawText,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_EndPaint,EndPaint,1752
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
EndPaint:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_EndPaint(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn EndPaint,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_EnumChildWindows,EnumChildWindows,1755
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
EnumChildWindows:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_EnumChildWindows(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn EnumChildWindows,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_FillRect,FillRect,1780
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
FillRect:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_FillRect(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn FillRect,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_FindWindowExW,FindWindowExW,1783
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
FindWindowEx:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_FindWindowExW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn FindWindowEx,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_FindWindowW,FindWindowW,1784
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
FindWindow:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_FindWindowW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn FindWindow,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetClientRect,GetClientRect,1815
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetClientRect:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_GetClientRect(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn GetClientRect,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,16 +1,18 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetCursor,GetCursor,1826
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetCursor:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
sub $32,%rsp
|
||||
call *__imp_GetCursor(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn GetCursor,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetCursorPos,GetCursorPos,1829
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetCursorPos:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ GetCursorPos:
|
|||
sub $32,%rsp
|
||||
call *__imp_GetCursorPos(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn GetCursorPos,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetDC,GetDC,1830
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetDC:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ GetDC:
|
|||
sub $32,%rsp
|
||||
call *__imp_GetDC(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn GetDC,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,16 +1,18 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetDesktopWindow,GetDesktopWindow,1833
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetDesktopWindow:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
sub $32,%rsp
|
||||
call *__imp_GetDesktopWindow(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn GetDesktopWindow,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetKeyState,GetKeyState,1866
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetKeyState:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ GetKeyState:
|
|||
sub $32,%rsp
|
||||
call *__imp_GetKeyState(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn GetKeyState,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetKeyboardLayout,GetKeyboardLayout,1867
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetKeyboardLayout:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ GetKeyboardLayout:
|
|||
sub $32,%rsp
|
||||
call *__imp_GetKeyboardLayout(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn GetKeyboardLayout,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetMenu,GetMenu,1881
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetMenu:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ GetMenu:
|
|||
sub $32,%rsp
|
||||
call *__imp_GetMenu(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn GetMenu,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetMessageW,GetMessageW,1899
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetMessage:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_GetMessageW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn GetMessage,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetParent,GetParent,1906
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetParent:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ GetParent:
|
|||
sub $32,%rsp
|
||||
call *__imp_GetParent(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn GetParent,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,16 +1,18 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetShellWindow,GetShellWindow,1950
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetShellWindow:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
sub $32,%rsp
|
||||
call *__imp_GetShellWindow(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn GetShellWindow,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetSystemMenu,GetSystemMenu,1955
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetSystemMenu:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_GetSystemMenu(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn GetSystemMenu,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetWindow,GetWindow,1976
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetWindow:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_GetWindow(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn GetWindow,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetWindowPlacement,GetWindowPlacement,1995
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetWindowPlacement:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_GetWindowPlacement(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn GetWindowPlacement,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetWindowRect,GetWindowRect,1997
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetWindowRect:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_GetWindowRect(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn GetWindowRect,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_GetWindowTextW,GetWindowTextW,2007
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetWindowText:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_GetWindowTextW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn GetWindowText,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_InsertMenuW,InsertMenuW,2044
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
InsertMenu:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_InsertMenuW(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn InsertMenu,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_InvalidateRect,InvalidateRect,2048
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
InvalidateRect:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_InvalidateRect(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn InvalidateRect,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_IsChild,IsChild,2059
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
IsChild:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_IsChild(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn IsChild,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_IsIconic,IsIconic,2067
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
IsIconic:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ IsIconic:
|
|||
sub $32,%rsp
|
||||
call *__imp_IsIconic(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn IsIconic,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_IsMenu,IsMenu,2070
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
IsMenu:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ IsMenu:
|
|||
sub $32,%rsp
|
||||
call *__imp_IsMenu(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn IsMenu,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_IsWindow,IsWindow,2084
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
IsWindow:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ IsWindow:
|
|||
sub $32,%rsp
|
||||
call *__imp_IsWindow(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn IsWindow,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_IsWindowVisible,IsWindowVisible,2090
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
IsWindowVisible:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ IsWindowVisible:
|
|||
sub $32,%rsp
|
||||
call *__imp_IsWindowVisible(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn IsWindowVisible,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_IsZoomed,IsZoomed,2092
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
IsZoomed:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ IsZoomed:
|
|||
sub $32,%rsp
|
||||
call *__imp_IsZoomed(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn IsZoomed,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_KillTimer,KillTimer,2093
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
KillTimer:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_KillTimer(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn KillTimer,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_LoadCursorW,LoadCursorW,2101
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
LoadCursor:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_LoadCursorW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn LoadCursor,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_LoadIconW,LoadIconW,2103
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
LoadIcon:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_LoadIconW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn LoadIcon,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_LoadImageW,LoadImageW,2105
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
LoadImage:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_LoadImageW(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn LoadImage,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_MapVirtualKeyExW,MapVirtualKeyExW,2155
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
MapVirtualKeyEx:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_MapVirtualKeyExW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn MapVirtualKeyEx,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_MessageBoxExW,MessageBoxExW,2165
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
MessageBoxEx:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_MessageBoxExW(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn MessageBoxEx,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_MessageBoxW,MessageBoxW,2170
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
MessageBox:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_MessageBoxW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn MessageBox,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_MoveWindow,MoveWindow,2176
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
MoveWindow:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_MoveWindow(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn MoveWindow,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_PeekMessageW,PeekMessageW,2201
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
PeekMessage:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_PeekMessageW(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn PeekMessage,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_PostQuitMessage,PostQuitMessage,2206
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
PostQuitMessage:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ PostQuitMessage:
|
|||
sub $32,%rsp
|
||||
call *__imp_PostQuitMessage(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn PostQuitMessage,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_RedrawWindow,RedrawWindow,2246
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
RedrawWindow:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_RedrawWindow(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn RedrawWindow,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_RegisterClassExW,RegisterClassExW,2250
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
RegisterClassEx:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ RegisterClassEx:
|
|||
sub $32,%rsp
|
||||
call *__imp_RegisterClassExW(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn RegisterClassEx,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_RegisterClassW,RegisterClassW,2251
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
RegisterClass:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ RegisterClass:
|
|||
sub $32,%rsp
|
||||
call *__imp_RegisterClassW(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn RegisterClass,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,16 +1,18 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_ReleaseCapture,ReleaseCapture,2279
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
ReleaseCapture:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
sub $32,%rsp
|
||||
call *__imp_ReleaseCapture(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn ReleaseCapture,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_ReleaseDC,ReleaseDC,2280
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
ReleaseDC:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_ReleaseDC(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn ReleaseDC,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_SendMessageW,SendMessageW,2306
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
SendMessage:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_SendMessageW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn SendMessage,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_SetCapture,SetCapture,2310
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
SetCapture:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ SetCapture:
|
|||
sub $32,%rsp
|
||||
call *__imp_SetCapture(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn SetCapture,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_SetClassLongW,SetClassLongW,2316
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
SetClassLong:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_SetClassLongW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn SetClassLong,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_SetCursor,SetCursor,2321
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
SetCursor:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ SetCursor:
|
|||
sub $32,%rsp
|
||||
call *__imp_SetCursor(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn SetCursor,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_SetParent,SetParent,2357
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
SetParent:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_SetParent(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn SetParent,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_SetTimer,SetTimer,2384
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
SetTimer:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_SetTimer(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn SetTimer,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_SetWindowLongW,SetWindowLongW,2398
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
SetWindowLong:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_SetWindowLongW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn SetWindowLong,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_SetWindowPlacement,SetWindowPlacement,2399
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
SetWindowPlacement:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_SetWindowPlacement(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn SetWindowPlacement,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_SetWindowPos,SetWindowPos,2400
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
SetWindowPos:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_SetWindowPos(%rip),%rax
|
||||
jmp __sysv2nt8
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn SetWindowPos,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_SetWindowTextW,SetWindowTextW,2405
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
SetWindowText:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_SetWindowTextW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn SetWindowText,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_SetWindowsHookExW,SetWindowsHookExW,2409
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
SetWindowsHookEx:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_SetWindowsHookExW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn SetWindowsHookEx,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_SetWindowsHookW,SetWindowsHookW,2410
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
SetWindowsHook:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_SetWindowsHookW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn SetWindowsHook,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_ShowCaret,ShowCaret,2411
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
ShowCaret:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ ShowCaret:
|
|||
sub $32,%rsp
|
||||
call *__imp_ShowCaret(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn ShowCaret,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_ShowCursor,ShowCursor,2412
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
ShowCursor:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ ShowCursor:
|
|||
sub $32,%rsp
|
||||
call *__imp_ShowCursor(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn ShowCursor,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_ShowWindow,ShowWindow,2417
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
ShowWindow:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_ShowWindow(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn ShowWindow,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_TrackPopupMenu,TrackPopupMenu,2443
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
TrackPopupMenu:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_TrackPopupMenu(%rip),%rax
|
||||
jmp __sysv2nt8
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn TrackPopupMenu,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_TranslateMessage,TranslateMessage,2449
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
TranslateMessage:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ TranslateMessage:
|
|||
sub $32,%rsp
|
||||
call *__imp_TranslateMessage(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn TranslateMessage,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_UnhookWindowsHook,UnhookWindowsHook,2452
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
UnhookWindowsHook:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_UnhookWindowsHook(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn UnhookWindowsHook,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_UnhookWindowsHookEx,UnhookWindowsHookEx,2453
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
UnhookWindowsHookEx:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ UnhookWindowsHookEx:
|
|||
sub $32,%rsp
|
||||
call *__imp_UnhookWindowsHookEx(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn UnhookWindowsHookEx,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_UpdateWindow,UpdateWindow,2474
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
UpdateWindow:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
|
@ -11,7 +11,9 @@ UpdateWindow:
|
|||
sub $32,%rsp
|
||||
call *__imp_UpdateWindow(%rip)
|
||||
leave
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
#endif
|
||||
ret
|
||||
.endfn UpdateWindow,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp user32,__imp_WaitForInputIdle,WaitForInputIdle,2495
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
WaitForInputIdle:
|
||||
#ifdef __x86_64__
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WaitForInputIdle(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
#elif defined(__aarch64__)
|
||||
mov x0,#0
|
||||
ret
|
||||
#endif
|
||||
.endfn WaitForInputIdle,globl
|
||||
.previous
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue