r4493@vps: verhaegs | 2007-04-19 14:44:00 -0400
[AROS.git] / rom / exec / exec.conf
blobebcc7bfadb4f3cb8e51996ad5a8d2c8c3772ba63
1 ##begin config
2 version 41.11
3 libbase SysBase
4 libbasetype struct ExecBase
5 libbasetypeextern struct ExecBase
6 options noresident
7 ##end config
8 ##begin cdef
9 #include <exec/types.h>
10 #include <exec/tasks.h>
11 #include <exec/memory.h>
12 #include <exec/ports.h>
13 #include <exec/devices.h>
14 #include <exec/io.h>
15 #include <exec/semaphores.h>
16 #include <exec/interrupts.h>
18 #include <dos/bptr.h>
19 ##end cdef
20 ##begin functionlist
21 struct ExecBase *open(ULONG version) (D0)
22 .private
23 BPTR close() ()
24 .private
25 .skip 2
26 ULONG Supervisor(ULONG_FUNC userFunction) (A5)
27 BOOL PrepareContext(struct Task *task, APTR entryPoint, APTR fallBack, struct TagItem *tagList) (A0, A1, A2, A3)
29 void Reschedule(struct Task *task) (A0)
30 void Switch() ()
31 void Dispatch() ()
32 void Exception() ()
33 void InitCode(ULONG startClass, ULONG version) (D0, D1)
34 void InitStruct(APTR initTable, APTR memory, ULONG size) (A1, A2, D0)
35 struct Library *MakeLibrary(APTR funcInit, APTR structInit, ULONG_FUNC libInit, ULONG dataSize, BPTR segList) (A0, A1, A2, D0, D1)
36 ULONG MakeFunctions(APTR target, APTR functionArray, APTR funcDispBase) (A0, A1, A2)
37 struct Resident *FindResident(const UBYTE *name) (A1)
38 APTR InitResident(struct Resident *resident, BPTR segList) (A1, D1)
39 void Alert(ULONG alertNum) (D7)
40 void Debug(unsigned long flags) (D0)
41 void Disable() ()
42 void Enable() ()
43 void Forbid() ()
44 void Permit() ()
45 ULONG SetSR(ULONG newSR, ULONG mask) (D0, D1)
46 APTR SuperState() ()
47 void UserState(APTR sysStack) (D0)
48 struct Interrupt *SetIntVector(ULONG intNumber, struct Interrupt *interrupt) (D0, A1)
49 void AddIntServer(ULONG intNumber, struct Interrupt *interrupt) (D0, A1)
50 void RemIntServer(ULONG intNumber, struct Interrupt *interrupt) (D0, A1)
51 void Cause(struct Interrupt *softint) (A1)
52 APTR Allocate(struct MemHeader *freeList, ULONG byteSize) (A0, D0)
53 void Deallocate(struct MemHeader *freeList, APTR memoryBlock, ULONG byteSize) (A0, A1, D0)
54 APTR AllocMem(ULONG byteSize, ULONG requirements) (D0, D1)
55 APTR AllocAbs(ULONG byteSize, APTR location) (D0, D1)
56 void FreeMem(APTR memoryBlock, ULONG byteSize) (A1, D0)
57 ULONG AvailMem(ULONG attributes) (D1)
58 struct MemList *AllocEntry(struct MemList *entry) (A0)
59 void FreeEntry(struct MemList *entry) (A0)
60 void Insert(struct List *list, struct Node *node, struct Node *pred) (A0, A1, A2)
61 void AddHead(struct List *list, struct Node *node) (A0, A1)
62 void AddTail(struct List *list, struct Node *node) (A0, A1)
63 void Remove(struct Node *node) (A1)
64 struct Node *RemHead(struct List *list) (A0)
65 struct Node *RemTail(struct List *list) (A0)
66 void Enqueue(struct List *list, struct Node *node) (A0, A1)
67 struct Node *FindName(struct List *list, const UBYTE *name) (A0, A1)
68 APTR AddTask(struct Task *task, APTR initialPC, APTR finalPC) (A1, A2, A3)
69 void RemTask(struct Task *task) (A1)
70 struct Task *FindTask(STRPTR name) (A1)
71 BYTE SetTaskPri(struct Task *task, LONG priority) (A1, D0)
72 ULONG SetSignal(ULONG newSignals, ULONG signalSet) (D0, D1)
73 ULONG SetExcept(ULONG newSignals, ULONG signalSet) (D0, D1)
74 ULONG Wait(ULONG signalSet) (D0)
75 void Signal(struct Task *task, ULONG signalSet) (A1, D0)
76 BYTE AllocSignal(LONG signalNum) (D0)
77 void FreeSignal(LONG signalNum) (D0)
78 LONG AllocTrap(long trapNum) (D0)
79 void FreeTrap(long trapNum) (D0)
80 void AddPort(struct MsgPort *port) (A1)
81 void RemPort(struct MsgPort *port) (A1)
82 void PutMsg(struct MsgPort *port, struct Message *message) (A0, A1)
83 struct Message *GetMsg(struct MsgPort *port) (A0)
84 void ReplyMsg(struct Message *message) (A1)
85 struct Message *WaitPort(struct MsgPort *port) (A0)
86 struct MsgPort *FindPort(STRPTR name) (A1)
87 void AddLibrary(struct Library *library) (A1)
88 void RemLibrary(struct Library *library) (A1)
89 struct Library *OldOpenLibrary(UBYTE *libName) (A1)
90 void CloseLibrary(struct Library *library) (A1)
91 APTR SetFunction(struct Library *library, LONG funcOffset, APTR newFunction) (A1, A0, D0)
92 void SumLibrary(struct Library *library) (A1)
93 void AddDevice(struct Device *device) (A1)
94 void RemDevice(struct Device *device) (A1)
95 BYTE OpenDevice(CONST_STRPTR devName, ULONG unitNumber, struct IORequest *iORequest, ULONG flags) (A0, D0, A1, D1)
96 void CloseDevice(struct IORequest *iORequest) (A1)
97 BYTE DoIO(struct IORequest *iORequest) (A1)
98 void SendIO(struct IORequest *iORequest) (A1)
99 struct IORequest *CheckIO(struct IORequest *iORequest) (A1)
100 BYTE WaitIO(struct IORequest *iORequest) (A1)
101 LONG AbortIO(struct IORequest *iORequest) (A1)
102 void AddResource(APTR resource) (A1)
103 void RemResource(APTR resource) (A1)
104 APTR OpenResource(CONST_STRPTR resName) (A1)
105 void RawIOInit() ()
106 LONG RawMayGetChar() ()
107 void RawPutChar(UBYTE chr) (D0)
108 APTR RawDoFmt(CONST_STRPTR FormatString, APTR DataStream, VOID_FUNC PutChProc, APTR PutChData) (A0, A1, A2, A3)
109 UWORD GetCC() ()
110 ULONG TypeOfMem(APTR address) (A1)
111 ULONG Procure(struct SignalSemaphore *sigSem, struct SemaphoreMessage *bidMsg) (A0, A1)
112 void Vacate(struct SignalSemaphore *sigSem, struct SemaphoreMessage *bidMsg) (A0, A1)
113 struct Library *OpenLibrary(CONST_STRPTR libName, ULONG version) (A1, D0)
114 void InitSemaphore(struct SignalSemaphore *sigSem) (A0)
115 void ObtainSemaphore(struct SignalSemaphore *sigSem) (A0)
116 void ReleaseSemaphore(struct SignalSemaphore *sigSem) (A0)
117 ULONG AttemptSemaphore(struct SignalSemaphore *sigSem) (A0)
118 void ObtainSemaphoreList(struct List *sigSem) (A0)
119 void ReleaseSemaphoreList(struct List *sigSem) (A0)
120 struct SignalSemaphore *FindSemaphore(STRPTR name) (A1)
121 void AddSemaphore(struct SignalSemaphore *sigSem) (A1)
122 void RemSemaphore(struct SignalSemaphore *sigSem) (A0)
123 ULONG SumKickData() ()
124 void AddMemList(ULONG size, ULONG attributes, LONG pri, APTR base, STRPTR name) (D0, D1, D2, A0, A1)
125 void CopyMem(CONST_APTR source, APTR dest, ULONG size) (A0, A1, D0)
126 void CopyMemQuick(CONST_APTR source, APTR dest, ULONG size) (A0, A1, D0)
127 void CacheClearU() ()
128 void CacheClearE(APTR address, ULONG length, ULONG caches) (A0, D0, D1)
129 ULONG CacheControl(ULONG cacheBits, ULONG cacheMask) (D0, D1)
130 struct IORequest *CreateIORequest(struct MsgPort *ioReplyPort, ULONG size) (A0, D0)
131 void DeleteIORequest(struct IORequest *iorequest) (A0)
132 struct MsgPort *CreateMsgPort() ()
133 void DeleteMsgPort(struct MsgPort *port) (A0)
134 void ObtainSemaphoreShared(struct SignalSemaphore *sigSem) (A0)
135 APTR AllocVec(ULONG byteSize, ULONG requirements) (D0, D1)
136 void FreeVec(APTR memoryBlock) (A1)
137 APTR CreatePool(ULONG requirements, ULONG puddleSize, ULONG threshSize) (D0, D1, D2)
138 void DeletePool(APTR poolHeader) (A0)
139 APTR AllocPooled(APTR poolHeader, ULONG memSize) (A0, D0)
140 void FreePooled(APTR poolHeader, APTR memory, ULONG memSize) (A0, A1, D0)
141 ULONG AttemptSemaphoreShared(struct SignalSemaphore *sigSem) (A0)
142 void ColdReboot() ()
143 void StackSwap(struct StackSwapStruct *sss) (A0)
144 void ChildFree(APTR tid) (D0)
145 ULONG ChildOrphan(APTR tid) (D0)
146 ULONG ChildStatus(APTR tid) (D0)
147 IPTR ChildWait(APTR tid) (D0)
148 APTR CachePreDMA(APTR address, ULONG *length, ULONG flags) (A0, A1, D0)
149 void CachePostDMA(APTR address, ULONG *length, ULONG flags) (A0, A1, D0)
150 void AddMemHandler(struct Interrupt *memHandler) (A1)
151 void RemMemHandler(struct Interrupt *memHandler) (A1)
152 ULONG ObtainQuickVector(APTR interruptCode) (A0)
153 .skip 3
154 APTR TaggedOpenLibrary(LONG tag) (D0)
155 .skip 13
156 APTR AllocVecPooled(APTR pool, ULONG size) (D0, D1)
157 void FreeVecPooled(APTR pool, APTR memory) (D0, D1)
158 BOOL NewAllocEntry(struct MemList *entry, struct MemList **return_entry, ULONG *return_flags) (A0, A1, D0)
159 APTR NewAddTask(struct Task *task, APTR initialPC, APTR finalPC, struct TagItem *tagList) (A1, A2, A3, A4)
160 ##end functionlist