cosmopolitan/libc/nt/kernel32/GetSystemTimes.s
Justine Tunney de5de19004 Make improvements
- Document redbean's argon2 module
- Fix regressions in cthreads library
- Make testlib work better with threads
- Give the cthreads library lots of love
- Remove some of the stdio assembly code
- Implement getloadavg() across platforms
- Code size optimizations for errnos, etc.
- Only check for signals in main thread on Windows
- Make errnos for dup2 / dup3 consistent with posix

This change also fixes a bug in the argon2 module, where the NUL
terminator was being included in the hash encoded ascii string. This
shouldn't require any database migrations to folks who found this module
and productionized it, since the argon2 library treats it as a c string.
2022-05-28 00:28:09 -07:00

12 lines
248 B
ArmAsm

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