From b6dab094d2b6531fdc867af906dd006e39cac2d9 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 30 Apr 2014 14:40:39 +0200 Subject: kern: include the MIG-generated server headers for MACHINE_SERVER GNU MIG recently gained support for emitting x_server_routine declarations in the generated server header file. Using this declaration, the x_server_routine functions can be inlined into the ipc_kobject_server function. * kern/ipc_kobject.c: Include the MIG-generated server headers for the machine-dependent interfaces. (ipc_kobject_server): Drop the simple declaration of MACHINE_SERVER_ROUTINE. * i386/i386/machine_routines.h (MACHINE_SERVER_HEADER): New definition. --- i386/i386/machine_routines.h | 1 + 1 file changed, 1 insertion(+) (limited to 'i386') diff --git a/i386/i386/machine_routines.h b/i386/i386/machine_routines.h index d77849a..65315e5 100644 --- a/i386/i386/machine_routines.h +++ b/i386/i386/machine_routines.h @@ -31,6 +31,7 @@ * The i386 has a set of machine-dependent interfaces. */ #define MACHINE_SERVER mach_i386_server +#define MACHINE_SERVER_HEADER #define MACHINE_SERVER_ROUTINE mach_i386_server_routine #endif /* _I386_MACHINE_ROUTINES_H_ */ -- cgit v1.2.3