mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
15
libc/nt/KernelBase/GetThreadPriority.s
Normal file
15
libc/nt/KernelBase/GetThreadPriority.s
Normal file
|
@ -0,0 +1,15 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp KernelBase,__imp_GetThreadPriority,GetThreadPriority,774
|
||||
|
||||
.text.windows
|
||||
GetThreadPriority:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov %rdi,%rcx
|
||||
sub $32,%rsp
|
||||
call *__imp_GetThreadPriority(%rip)
|
||||
leave
|
||||
ret
|
||||
.endfn GetThreadPriority,globl
|
||||
.previous
|
Loading…
Add table
Add a link
Reference in a new issue