Minor fixes to comments.
[AROS.git] / rom / kernel / kernel_romtags.h
blob4bb106bbef9f8345f7eb884941fe4449bc0f2ffb
1 #include <aros/asmcall.h>
2 #include <exec/execbase.h>
3 #include <exec/memory.h>
4 #include <exec/resident.h>
6 /* Look for ROMTags in specified address ranges and build resident list */
7 APTR krnRomTagScanner(struct MemHeader *mh, UWORD *ranges[]);
8 /* Find a resident with specified name */
9 struct Resident *krnFindResident(struct Resident **resList, const char *name);
11 /* Find ROMTags and call exec.library early entry point to create ExecBase */
12 struct ExecBase *krnPrepareExecBase(UWORD *ranges[], struct MemHeader *mh, struct TagItem *bootMsg);
14 /* Magic. Described in rom/exec/exec_init.c. */
15 static inline struct ExecBase *krnInitExecBase(struct Resident *res, struct MemHeader *mh, struct TagItem *bootMsg)
17 return AROS_UFC3(struct ExecBase *, res->rt_Init,
18 AROS_UFCA(struct MemHeader *, mh, D0),
19 AROS_UFCA(struct TagItem *, bootMsg, A0),
20 AROS_UFCA(struct ExecBase *, NULL, A6));