mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-07 11:48:30 +00:00
Fix some win32 definitions
You can now use psapi.dll and pdh.dll. Some TODOs for Windows have been cleared out. We might have a working load average for the platform that should help GNU Make work well.
This commit is contained in:
parent
e2e0b042c1
commit
c23b6ecc31
162 changed files with 847 additions and 153 deletions
|
@ -1,12 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_GetProcessImageFileNameA,GetProcessImageFileNameA,676
|
||||
|
||||
.text.windows
|
||||
GetProcessImageFileNameA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_GetProcessImageFileNameA(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn GetProcessImageFileNameA,globl
|
||||
.previous
|
|
@ -1,12 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_GetProcessImageFileNameW,GetProcessImageFileNameW,677
|
||||
|
||||
.text.windows
|
||||
GetProcessImageFileName:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_GetProcessImageFileNameW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn GetProcessImageFileName,globl
|
||||
.previous
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_K32GetModuleBaseNameA,K32GetModuleBaseNameA,0
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_K32GetModuleFileNameExA,K32GetModuleFileNameExA,0
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_K32GetProcessImageFileNameA,K32GetProcessImageFileNameA,0
|
Loading…
Add table
Add a link
Reference in a new issue