From: Ralph Ronnquist Date: Fri, 4 Jun 2021 08:14:11 +0000 (+1000) Subject: allocate without locking (locked mem is limited) X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=2b1882f00a5b60b003891ce0e9d3440732538a1a;p=rrq%2Frrqforth.git allocate without locking (locked mem is limited) --- 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