1 #include <aros/libcall.h>
2 #include <aros/asmcall.h>
3 #include <aros/arossupportbase.h>
4 #include <exec/execbase.h>
5 #include <exec/types.h>
6 #include <exec/resident.h>
8 #include <dos/dosextens.h>
9 #include <hardware/custom.h>
10 #include <hardware/intbits.h>
12 #include <proto/exec.h>
18 int exec_main(struct TagItem
*msg
, void *entry
);
20 const char exec_name
[] = "exec.library";
21 const char exec_idstring
[] = "$VER: exec 41.11 (16.12.2000)\r\n";
22 const char exec_chipname
[] = "Chip Memory";
23 const char exec_fastname
[] = "Fast Memory";
25 const short exec_Version
= 41;
26 const short exec_Revision
= 11;
28 const struct __attribute__((section(".text"))) Resident Exec_resident
=
30 RTC_MATCHWORD
, /* Magic value used to find resident */
31 &Exec_resident
, /* Points to Resident itself */
32 &Exec_resident
+1, /* Where could we find next Resident? */
33 0, /* There are no flags!! */
35 NT_LIBRARY
, /* Type */
36 126, /* Very high startup priority. */
37 (STRPTR
)exec_name
, /* Pointer to name string */
38 (STRPTR
)exec_idstring
, /* Ditto */
39 exec_main
/* Library initializer (for exec this value is irrelevant since we've jumped there at the begining to bring the system up */
42 int exec_main(struct TagItem
*msg
, void *entry
) {