2 ** This file was automatically generated by fdtrans 51.14.
3 ** Do not edit it by hand. Instead, edit the sfd file
4 ** that was used to generate this file
10 #ifndef __NOGLOBALIFACE__
11 #define __NOGLOBALIFACE__
14 #include <exec/interfaces.h>
15 #include <exec/libraries.h>
16 #include <exec/emulation.h>
17 #include <interfaces/exec.h>
18 #include <interfaces/mccclass.h>
19 #include <proto/mccclass.h>
22 static inline int8
convert_int8 (uint32 x
) { return x
; }
23 static inline int16
convert_int16(uint32 x
) { return x
; }
26 STATIC
struct Library
* stub_OpenPPC(ULONG
*regarray
)
28 struct Library
*Base
= (struct Library
*) regarray
[REG68K_A6
/4];
29 struct ExtendedLibrary
*ExtLib
= (struct ExtendedLibrary
*) ((ULONG
)Base
+ Base
->lib_PosSize
);
30 struct LibraryManagerInterface
*Self
= (struct LibraryManagerInterface
*) ExtLib
->ILibrary
;
34 STATIC CONST
struct EmuTrap stub_Open
= { TRAPINST
, TRAPTYPE
, (ULONG (*)(ULONG
*))stub_OpenPPC
};
36 STATIC APTR
stub_ClosePPC(ULONG
*regarray
)
38 struct Library
*Base
= (struct Library
*) regarray
[REG68K_A6
/4];
39 struct ExtendedLibrary
*ExtLib
= (struct ExtendedLibrary
*) ((ULONG
)Base
+ Base
->lib_PosSize
);
40 struct LibraryManagerInterface
*Self
= (struct LibraryManagerInterface
*) ExtLib
->ILibrary
;
44 STATIC CONST
struct EmuTrap stub_Close
= { TRAPINST
, TRAPTYPE
, (ULONG (*)(ULONG
*))stub_ClosePPC
};
46 STATIC APTR
stub_ExpungePPC(ULONG
*regarray
__attribute__((unused
)))
50 STATIC CONST
struct EmuTrap stub_Expunge
= { TRAPINST
, TRAPTYPE
, (ULONG (*)(ULONG
*))stub_ExpungePPC
};
52 STATIC ULONG
stub_ReservedPPC(ULONG
*regarray
__attribute__((unused
)))
56 STATIC CONST
struct EmuTrap stub_Reserved
= { TRAPINST
, TRAPTYPE
, stub_ReservedPPC
};
58 static ULONG
stub_MCC_QueryPPC(ULONG
*regarray
)
60 struct Library
*Base
= (struct Library
*) regarray
[REG68K_A6
/4];
61 struct ExtendedLibrary
*ExtLib
= (struct ExtendedLibrary
*) ((ULONG
)Base
+ Base
->lib_PosSize
);
62 struct MCCClassIFace
*Self
= (struct MCCClassIFace
*) ExtLib
->MainIFace
;
64 return Self
->MCC_Query(
68 STATIC CONST
struct EmuTrap stub_MCC_Query
= { TRAPINST
, TRAPTYPE
, (ULONG (*)(ULONG
*))stub_MCC_QueryPPC
};
70 CONST CONST_APTR VecTable68K
[] =