arch/m68k-all: Flesh out the m68k common kernel routines
[AROS.git] / arch / m68k-amiga / exec / exec_init.c
blob16afe86c89fa453c8ea2ca2babc534a7113888f7
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>
7 #include <dos/bptr.h>
8 #include <dos/dosextens.h>
9 #include <hardware/custom.h>
10 #include <hardware/intbits.h>
12 #include <proto/exec.h>
14 #include <stdarg.h>
15 #include <strings.h>
16 #include <inttypes.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!! */
34 41, /* Version */
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) {
43 return 0;