allocate without locking (locked mem is limited)
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Fri, 4 Jun 2021 08:14:11 +0000 (18:14 +1000)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Fri, 4 Jun 2021 08:14:11 +0000 (18:14 +1000)
stdio.asm

index 12c0ed45f46ee3a125704ee09ae52c3e29a9a299..191e09893e2226146f1ee1d0b92a0650d66ec06d 100644 (file)
--- a/stdio.asm
+++ b/stdio.asm
@@ -11,7 +11,7 @@
        push qword 0            ; address of mapping (suggestion)
        push rax                ; length of mapping
        push qword 3            ; protection mode PROT_READ | PROT_WRITE
-       push qword 8226         ; flags PRIVATE | ANONYMOUS | LOCKED
+       push qword 34           ; flags PRIVATE | ANONYMOUS 
        push qword -1           ; fd -1
        push qword 0            ; offset
        jmp sys_mmap_asm        ; exit via sys_mmap