mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-08 04:08:32 +00:00
Make mappings unlimited on NT
This change might also fix fork() in certain cases on NT.
This commit is contained in:
parent
ab64c746cc
commit
34b68f1945
31 changed files with 356 additions and 127 deletions
|
@ -1,2 +1,15 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_GlobalFree,GlobalFree,0
|
||||
|
||||
.text.windows
|
||||
GlobalFree:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov %rdi,%rcx
|
||||
sub $32,%rsp
|
||||
call *__imp_GlobalFree(%rip)
|
||||
leave
|
||||
ret
|
||||
.endfn GlobalFree,globl
|
||||
.previous
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue