--- uae/src/include/native2amiga.h 2018/04/24 16:47:41 1.1 +++ uae/src/include/native2amiga.h 2018/04/24 17:14:42 1.1.1.4 @@ -5,7 +5,7 @@ * and without stack magic. * * Copyright 1999 Patrick Ohly - * + * * Uses the EXTER interrupt that is setup in filesys.c * and some of it needs thread support. */ @@ -16,11 +16,11 @@ * the exec.library functions is impossible. */ #ifdef SUPPORT_THREADS -void ReplyMsg(uaecptr msg); -void PutMsg(uaecptr port, uaecptr msg); -void Signal(uaecptr task, uae_u32 mask); +void uae_ReplyMsg(uaecptr msg); +void uae_PutMsg(uaecptr port, uaecptr msg); +void uae_Signal(uaecptr task, uae_u32 mask); #endif -void NewList(uaecptr list); +void uae_NewList(uaecptr list); /* * The following functions are shortcuts for calling @@ -29,7 +29,7 @@ void NewList(uaecptr list); * function has to be setup with deftrap2() and * TRAPFLAG_EXTRA_STACK and stack magic is required. */ -uaecptr AllocMem (uae_u32 size, uae_u32 flags); +uaecptr uae_AllocMem (uae_u32 size, uae_u32 flags); /* @@ -51,3 +51,10 @@ void native2amiga_startup (void); * It's emptied via exter_int_helper by the EXTER interrupt. */ extern smp_comm_pipe native2amiga_pending; #endif + +STATIC_INLINE void do_uae_int_requested(void) +{ + uae_int_requested = 1; + set_uae_int_flag (); + INTREQ (0x8000 | 0x0008); +}