aboutsummaryrefslogtreecommitdiff
path: root/include/uskel.s
diff options
context:
space:
mode:
Diffstat (limited to 'include/uskel.s')
-rw-r--r--include/uskel.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uskel.s b/include/uskel.s
index 136b382..34ee63a 100644
--- a/include/uskel.s
+++ b/include/uskel.s
@@ -20,10 +20,10 @@ _memory_state:
_uskel_alloc_basic_mem:
mov $0x100000, %r15 # desired size
- mov $0x9, %rax # mmap
+ mov $9, %rax # mmap
mov $0, %rdi # addr = NULL
mov %r15, %rsi # len = %rcx
- mov $0x3, %rdx # prot = PROT_READ 0x1 | PROT_WRITE 0x2
+ mov $0b11, %rdx # prot = PROT_READ 0b1 | PROT_WRITE 0b10
mov $0x22, %r10 # flags = MAP_PRIVATE 0x2 | MAP_ANONYMOUS 0x20
mov $-1, %r8 # fd = -1
mov $0, %r9 # off = 0