2 * Copyright (C) 2011, The AROS Development Team. All rights reserved.
3 * Author: Jason S. McMullan <jason.mcmullan@gmail.com>
5 * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1
9 #include <aros/libcall.h>
10 #include <aros/symbolsets.h>
11 #include <exec/execbase.h>
13 extern VOID
AROS_SLIB_ENTRY(ExitIntr
, Exec
, 6)(VOID
);
14 extern VOID
AROS_SLIB_ENTRY(Schedule
, Exec
, 7)(VOID
);
15 extern VOID
AROS_SLIB_ENTRY(Switch
, Exec
, 9)(VOID
);
16 extern VOID
AROS_SLIB_ENTRY(Dispatch
, Exec
, 10)(VOID
);
18 static int Exec_init_platform(struct ExecBase
*lh
)
20 __AROS_SETVECADDR(lh
, 6, AROS_SLIB_ENTRY(ExitIntr
, Exec
, 6));
21 __AROS_SETVECADDR(lh
, 7, AROS_SLIB_ENTRY(Schedule
, Exec
, 7));
22 __AROS_SETVECADDR(lh
, 9, AROS_SLIB_ENTRY(Switch
, Exec
, 9));
23 __AROS_SETVECADDR(lh
,10, AROS_SLIB_ENTRY(Dispatch
, Exec
,10));
28 ADD2INITLIB(Exec_init_platform
,0)