cosmopolitan/libc/nt/kernel32/DeviceIoControl.s
Justine Tunney 4f98ad1054 Improve system call support on NT
- Improve i/o perf on New Technology
- Code cleanup on read() for New Technology
- Fix bad bug with dup() of socket on New Technology
- Clean up some more strace errors on New Technology
2022-04-07 20:30:04 -07:00

12 lines
258 B
ArmAsm

.include "o/libc/nt/codegen.inc"
.imp kernel32,__imp_DeviceIoControl,DeviceIoControl,0
.text.windows
__DeviceIoControl:
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_DeviceIoControl(%rip),%rax
jmp __sysv2nt8
.endfn __DeviceIoControl,globl
.previous