ipc.h - IPC defined as functions again
- CHOOSETRAP define makes impossible to use some common words like send, receive and notify in any other context, for instance as members or structures - any reasonable compiler inlines the static inline functions so no extra function call overhead is introduced by this change - this gets us back to the situation before the SYSCALL/SYSENTER change. It is not perfect, but it used to work and still does.
This commit is contained in:
@@ -185,7 +185,7 @@ static void root_ipcvecs(void)
|
||||
* to distinguish them from regular symbols.
|
||||
*/
|
||||
#define PRINT_ENTRYPOINT(name) \
|
||||
buf_printf("%08lx T %s(k)\n", _minix_ipcvecs.name ## _ptr, #name)
|
||||
buf_printf("%08lx T %s(k)\n", _minix_ipcvecs.name, #name)
|
||||
|
||||
PRINT_ENTRYPOINT(sendrec);
|
||||
PRINT_ENTRYPOINT(send);
|
||||
|
||||
Reference in New Issue
Block a user