mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-01 03:53:33 +00:00
3e4fd4b0ad
This change also pays off some of the remaining technical debt with stdio, file descriptors, and memory managemnt polyfills.
15 lines
320 B
ArmAsm
15 lines
320 B
ArmAsm
.include "o/libc/nt/codegen.inc"
|
|
.imp KernelBase,__imp_AcquireSRWLockExclusive,AcquireSRWLockExclusive,683
|
|
|
|
.text.windows
|
|
AcquireSRWLockExclusive:
|
|
push %rbp
|
|
mov %rsp,%rbp
|
|
.profilable
|
|
mov %rdi,%rcx
|
|
sub $32,%rsp
|
|
call *__imp_AcquireSRWLockExclusive(%rip)
|
|
leave
|
|
ret
|
|
.endfn AcquireSRWLockExclusive,globl
|
|
.previous
|