Add epoll and do more release readiness changes
This change also pays off some of the remaining technical debt with stdio, file descriptors, and memory managemnt polyfills.
This commit is contained in:
@@ -1,2 +1,12 @@
|
||||
.include "o/libc/nt/ntdllimport.inc"
|
||||
.ntimp NtCancelIoFileEx
|
||||
|
||||
.text.windows
|
||||
NtCancelIoFileEx:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_NtCancelIoFileEx(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn NtCancelIoFileEx,globl
|
||||
.previous
|
||||
|
||||
@@ -1,2 +1,12 @@
|
||||
.include "o/libc/nt/ntdllimport.inc"
|
||||
.ntimp NtCreateKeyedEvent
|
||||
|
||||
.text.windows
|
||||
NtCreateKeyedEvent:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_NtCreateKeyedEvent(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn NtCreateKeyedEvent,globl
|
||||
.previous
|
||||
|
||||
@@ -1,2 +1,12 @@
|
||||
.include "o/libc/nt/ntdllimport.inc"
|
||||
.ntimp NtReleaseKeyedEvent
|
||||
|
||||
.text.windows
|
||||
NtReleaseKeyedEvent:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_NtReleaseKeyedEvent(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn NtReleaseKeyedEvent,globl
|
||||
.previous
|
||||
|
||||
@@ -1,2 +1,12 @@
|
||||
.include "o/libc/nt/ntdllimport.inc"
|
||||
.ntimp NtWaitForKeyedEvent
|
||||
|
||||
.text.windows
|
||||
NtWaitForKeyedEvent:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_NtWaitForKeyedEvent(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn NtWaitForKeyedEvent,globl
|
||||
.previous
|
||||
|
||||
@@ -1,2 +1,15 @@
|
||||
.include "o/libc/nt/ntdllimport.inc"
|
||||
.ntimp RtlNtStatusToDosError
|
||||
|
||||
.text.windows
|
||||
RtlNtStatusToDosError:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov %rdi,%rcx
|
||||
sub $32,%rsp
|
||||
call *__imp_RtlNtStatusToDosError(%rip)
|
||||
leave
|
||||
ret
|
||||
.endfn RtlNtStatusToDosError,globl
|
||||
.previous
|
||||
|
||||
Reference in New Issue
Block a user