diff options
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386/locore.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/i386/i386/locore.h b/i386/i386/locore.h index 374c8cf9..217e6dec 100644 --- a/i386/i386/locore.h +++ b/i386/i386/locore.h @@ -50,7 +50,13 @@ extern int discover_x86_cpu_type (void); extern int copyin (const void *userbuf, void *kernelbuf, size_t cn); extern int copyinmsg (const void *userbuf, void *kernelbuf, size_t cn, size_t kn); extern int copyout (const void *kernelbuf, void *userbuf, size_t cn); +#ifdef USER32 extern int copyoutmsg (const void *kernelbuf, void *userbuf, size_t cn); +#else +static inline int copyoutmsg (const void *kernelbuf, void *userbuf, size_t cn) { + return copyout (kernelbuf, userbuf, cn); +} +#endif extern int inst_fetch (int eip, int cs); |