mirror of
https://github.com/vivier/EMILE.git
synced 2024-11-15 13:04:40 +00:00
26 lines
459 B
C
26 lines
459 B
C
/*
|
|
*
|
|
* (c) 2004,2005 Laurent Vivier <Laurent@lvivier.info>
|
|
*
|
|
*/
|
|
|
|
#ifndef __MACOS_INIT_H__
|
|
#define __MACOS_INIT_H__
|
|
|
|
#include <macos/traps.h>
|
|
|
|
statis inline void InitEvents(short CntEvts)
|
|
{
|
|
asm("move.l %0, %%d0\n"
|
|
Trap(_InitEvents)
|
|
:: "g" (CntEvts) : "%%d0", UNPRESERVED_REGS);
|
|
}
|
|
|
|
static inline void InitFS(short CntFCBs)
|
|
{
|
|
asm("move.l %0, %%d0\n"
|
|
Trap(_InitFs)
|
|
:: "g" (CntFCBs) : "%%d0", UNPRESERVED_REGS);
|
|
}
|
|
#endif /* __MACOS_INIT_H__ */
|