X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=stdio.asm;h=191e09893e2226146f1ee1d0b92a0650d66ec06d;hb=0b2424d77066d82aadd748ba74dc35eb81dde81b;hp=12c0ed45f46ee3a125704ee09ae52c3e29a9a299;hpb=42844a6fe395162a374bd7bb6e8ed9a04b8d580c;p=rrq%2Frrqforth.git diff --git a/stdio.asm b/stdio.asm index 12c0ed4..191e098 100644 --- 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