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