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