]> pd.if.org Git - mmurtl/blob - ossource/mstatus.h
autocommit for file dated 2003-12-29 17:36:54
[mmurtl] / ossource / mstatus.h
1 #define ErcOK                   0       /* Alls Well */\r
2 #define ErcEOF                  1       /* DUH... The END */\r
3 \r
4 #define ErcOpCancel             4       /* Operator cancel */\r
5 #define ErcNullPtr              6       /* Null ptr passed into call or service */\r
6 \r
7 /* 10 - 19 Exchange Errors for Allocation and Use */\r
8 \r
9 #define ErcOutOfRange   10      /* Bad exchange number */\r
10 #define ErcNotAlloc             11      /* Exchange number used was not allocated */\r
11 #define ErcNotOwner             12      /* Attempt to dealloc Exch that's not yours */\r
12 \r
13 /*20 - 29 Message Management */\r
14 \r
15 #define ErcNoMsg                20      /* No msg waiting at exchange (CheckMsg) */\r
16 \r
17 /*30 - 39 System Service Management */\r
18 \r
19 #define ErcNoSuchSvc    30      /* No service by that name */\r
20 #define ErcBadSvcCode   32      /* Service doesn't handle that code */\r
21 #define ErcNotRqBlk             34      /* Service received a NON RqBlock at it's exchange*/\r
22 #define ErcOutOfSvcDesc 36      /* No more empty Service Descriptors */\r
23 #define ErcOwnerAbort   37      /* Svc received SvcCode 0 on owner of this RqBlk*/\r
24 \r
25 /* OS Resource Management Errors */\r
26 \r
27 #define ErcNoMoreExch   40      /* Out of exchanges */\r
28 #define ErcNoMoreLBs    41      /* Out of Link Blocks */\r
29 #define ErcNoSvcBlks    43      /* No more servcice can install */\r
30 #define ErcNoMoreTBs    44      /* Out of timer blocks */\r
31 #define ErcNoMoreTSSs   45      /* Out of TSSs */\r
32 #define ErcNoMoreRqBlks 46      /* Out of Request Blocks */\r
33 #define ErcNoMoreJCBs   47      /* Out of Job Control Blocks */\r
34 \r
35 /* OS Call Gate Management */\r
36 \r
37 #define ErcBadGateNum   48      /* Tried to add an invalid GDT call gate */\r
38 #define ErcBadCallGate  49      /* Called an UNinitialized Call Gate!! */\r
39 \r
40 /*OS Task Management */\r
41 \r
42 #define ErcBadPriority  50      /* Priority is out of range */\r
43 \r
44 /*OS Job Management */\r
45 \r
46 #define ErcBadJobNum    70      /* A Bad job number was specified in an OS call */\r
47 #define ErcInvalidJCB   71      /* The Job number specifies an unassigned JCB */\r
48 #define ErcBadRunFile   74      /* The run file you specified is NOT a run file! */\r
49 #define ErcNoExitJob    76      /* No exit job was specified on ExitJob(n) */\r
50 #define ErcBadParams    80      /* Invalid or bad params were passed to a command */\r
51 \r
52 /* Memory Management */\r
53 \r
54 #define ErcNoGdtSlots   100 /* No more free rgMemDesc GDT slots! */\r
55 #define ErcNoMem                101 /* Not enough memory (no more pages!!!) */\r
56 #define ErcBadMemPage   102 /* Bad physical page specified in Mem call */\r
57 #define ErcBadMemReq    104 /* Invalid size for memory request */\r
58 #define ErcInternalMem  106 /* Internal inconsistancy. AddPage can't! */\r
59 #define ErcNoRuns               107 /* No free runs large enough in PTs (temporary) */\r
60 #define ErcBadLinAdd    108 /* Bad linear address was passed to DeallocMem */\r
61 #define ErcShortMem     109 /* Passed in too many pages to Dealloc, but */\r
62                                         /*as many as possible were deallocated  */\r
63 #define ErcBadAlias     111 /* Address passed in WASN't an alias (it should be) */\r
64 \r
65 /* DOS-FAT File System  200 - 299  */\r
66 \r
67 #define ErcBadFileSpec  200     /* invalid file spec (not correct format) */\r
68 #define ErcNoSuchDrive  201     /* Try another letter bozo */\r
69 #define ErcNotAFile             202     /* Open a directory?? NOT */\r
70 #define ErcNoSuchFile   203     /* No can do! It ain't there...*/\r
71 #define ErcNoSuchDir    204     /* Ain't no such dir... */\r
72 #define ErcReadOnly             205     /* You can't modify it bubba */\r
73 #define ErcNoFreeFCB    206     /* We're really hurtin... */\r
74 #define ErcBadOpenMode  207     /* Say what? Mode??? */\r
75 #define ErcFileInUse    208     /* File is open in incompatible mode */\r
76 #define ErcNoFreeFUB    209     /* Sorry, out of File User Blocks */\r
77 #define ErcBadFileHandle 210 /* WHOAAA, bad handle buddy! */\r
78 #define ErcBrokenFile   211     /* Cluster chain broken on file */\r
79 #define ErcBadFCB               213     /* We got REAL problems... */\r
80 #define ErcStreamFile   214     /* Operation not allowed on Stream File */\r
81 #define ErcBlockFile    215     /* Operation not allowed on Block File */\r
82 #define ErcBeyondEOF    217     /* SetLFA or WriteBlock beyond EOF */\r
83 #define ErcNoParTable   218     /* No partiton table found on disk!!! */\r
84 #define ErcBadFATClstr  220 /* File system screwed up (or your disk is) */\r
85 #define ErcRenameDrv    222     /* They have tried to rename across Dir/Vol*/\r
86 #define ErcRenameDir    223     /* They have tried to rename across Dir/Vol*/\r
87 #define ErcNoMatch      224     /* No matching directory entry */\r
88 #define ErcWriteOnly    225     /* Attempt to read write-only device */\r
89 #define ErcDupName              226     /* Name exists as a file or dir already */\r
90 #define ErcNotSupported 227     /* Not supported on this file  */\r
91 #define ErcRootFull             228     /* The Root Directory is Full  */\r
92 #define ErcDiskFull             230     /* No more free CLUSTERS!!!  */\r
93 #define ErcDirFull              231     /* No free Dir entries TEMP ERROR  */\r
94 \r
95 /* Character Video Management 300 -399 */\r
96 \r
97 #define ErcVidNum               300 /* Bad vid number passed to vid call */\r
98 #define ErcVidparam             301 /* A param was out of range to a Vid call */\r
99 #define ErcEditParam    300 /* Bad param to EditLine */\r
100 #define ErcBadString    302 /* Invalid sting passed to Math Cnvrt Func */\r
101 \r
102 /* OS hardware Resource Management */\r
103 \r
104 #define ErcDMAChannel   400 /* Invalid DMA channel specified as param */\r
105 #define ErcDMAMode              401 /* Bad mode specified */\r
106 \r
107 /* 500-599 Device Management (General) */\r
108 \r
109 #define ErcBadDevNum    500 /* DCB number too large ( > max DCBs) */\r
110 #define ErcDevInUse             501 /* DCB already in use */\r
111 #define ErcBadDevName   502 /* Size of device name incorrect */\r
112 #define ErcBadOpNum             503 /* OpNum to DD that it doesn't handle! */\r
113 #define ErcNoDevice             504 /* Driver's installed but NO device is */\r
114 #define ErcNoDriver             505 /* No driver installed for that Device Num */\r
115 #define ErcDCBInUse             506 /* Attempt to install driver over valid FDC */\r
116 \r
117 /* 700-749 Keyboard Service */\r
118 \r
119 #define ErcNoKeyAvail   700     /* Asked not to wait and no key is available */\r
120 \r
121 /* 600-649 Floppy Device Driver */\r
122 \r
123 #define ErcAddrMark             602\r
124 #define ErcReadOnly             603\r
125 #define ErcSectNotFound 604\r
126 #define ErcNewMedia             605\r
127 #define ErcNotMounted   606\r
128 #define ErcCRC                  607\r
129 #define ErcBadFDC               608\r
130 #define ErcBadSeek              609\r
131 #define ErcFDCTimeOut   610\r
132 #define ErcOverRun              611\r
133 #define ErcBadLBA               612\r
134 #define ErcDriveType    613\r
135 #define ErcBadOp                614\r
136 #define ErcBadRecal             615\r
137 #define ErcSendFDC              616\r
138 #define ErcResults              617\r
139 #define ErcBadCmd               618\r
140 #define ErcReadyLine    619\r
141 \r
142 /* 650-699 Hard Disk Device Driver */\r
143 \r
144 #define ErcBadBlock             651\r
145 #define ErcAddrMark             652\r
146 #define ErcBadECC               653\r
147 #define ErcSectNotFound 654\r
148 #define ErcNoDrive0             655\r
149 #define ErcNotSupported 656\r
150 #define ErcBadHDC               658\r
151 #define ErcBadSeek              659\r
152 #define ErcHDCTimeOut   660\r
153 #define ErcOverRun              661\r
154 #define ErcBadLBA               662\r
155 #define ErcInvalidDrive 663\r
156 #define ErcBadOp                664\r
157 #define ErcBadRecal             665\r
158 #define ErcSendHDC              666\r
159 #define ErcNotReady             667\r
160 #define ErcBadCmd               668\r
161 #define ErcNeedsInit    669\r
162 #define ErcTooManyBlks  670             /* The controller can only do 128 max */\r
163 #define ErcZeroBlks             671             /* 0 Blocks not allowed for this cmd */\r
164 #define ErcWriteFault   672             /* WriteFault bit set... bummer */\r
165 \r
166 /* 800-899 Async Comms Driver */\r
167 \r
168 /* End of Status.c */\r