From 08c91ab698c91dc4b8fbc597c03ac1ca10eb403c Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 2 Sep 2017 13:34:24 +0200 Subject: sys: support ptr64 type ptr64 is like ptr, but always takes 8 bytes of space. Needed for some APIs. Unfortunately, most of these APIs use buffer type, so we can't use ptr64 immidiately. --- docs/syscall_descriptions_syntax.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/syscall_descriptions_syntax.md') diff --git a/docs/syscall_descriptions_syntax.md b/docs/syscall_descriptions_syntax.md index 4376dbd16..5bd20ebe2 100644 --- a/docs/syscall_descriptions_syntax.md +++ b/docs/syscall_descriptions_syntax.md @@ -30,8 +30,9 @@ rest of the type-options are type-specific: reference to flags description (see below) "array": a variable/fixed-length array, type-options: type of elements, optional size (fixed "5", or ranged "5:10", boundaries inclusive) -"ptr": a pointer to an object, type-options: +"ptr"/"ptr64": a pointer to an object, type-options: type of the object; direction (in/out/inout) + ptr64 has size of 8 bytes regardless of target pointer size "buffer": a pointer to a memory buffer (like read/write buffer argument), type-options: direction (in/out/inout) "string": a zero-terminated memory buffer (no pointer indirection implied), type-options: -- cgit mrf-deployment