Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109326201
D43058.id131427.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
890 B
Referenced Files
None
Subscribers
None
D43058.id131427.diff
View Options
diff --git a/lib/libc/aarch64/SYS.h b/lib/libc/aarch64/SYS.h
--- a/lib/libc/aarch64/SYS.h
+++ b/lib/libc/aarch64/SYS.h
@@ -40,21 +40,22 @@
* to jump around to use more capable unconditional branch
* instruction.
*/
-#define PSEUDO(name) \
-ENTRY(__sys_##name); \
- WEAK_REFERENCE(__sys_##name, _##name); \
+#define _SYSCALL_BODY(name) \
_SYSCALL(name); \
b.cs 1f; \
ret; \
-1: b cerror; \
+1: b cerror \
+
+
+#define PSEUDO(name) \
+ENTRY(__sys_##name); \
+ WEAK_REFERENCE(__sys_##name, _##name); \
+ _SYSCALL_BODY(name); \
END(__sys_##name)
#define RSYSCALL(name) \
ENTRY(__sys_##name); \
WEAK_REFERENCE(__sys_##name, name); \
WEAK_REFERENCE(__sys_##name, _##name); \
- _SYSCALL(name); \
- b.cs 1f; \
- ret; \
-1: b cerror; \
+ _SYSCALL_BODY(name); \
END(__sys_##name)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 4, 3:17 PM (1 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16455142
Default Alt Text
D43058.id131427.diff (890 B)
Attached To
Mode
D43058: aarch/SYS.h: implement _SYSCALL_BODY() macro
Attached
Detach File
Event Timeline
Log In to Comment