| 1284 | } |
| 1285 | |
| 1286 | void KThread::clone(KThread* from) { |
| 1287 | this->sigMask = from->sigMask; |
| 1288 | this->waitingForSignalToEndMaskToRestore = from->waitingForSignalToEndMaskToRestore; |
| 1289 | this->cpu->clone(from->cpu); |
| 1290 | this->cpu->thread = this; |
| 1291 | } |
| 1292 | |
| 1293 | U32 KThread::modify_ldt(U32 func, U32 ptr, U32 count) { |
| 1294 | if (func == 1 || func == 0x11) { |
no outgoing calls