Rev 329 | Rev 345 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 329 | Rev 334 | ||
---|---|---|---|
Line 579... | Line 579... | ||
579 | terminate: ; terminate application |
579 | terminate: ; terminate application |
Line 580... | Line 580... | ||
580 | 580 | ||
Line 581... | Line 581... | ||
581 | .slot equ esp ;locals |
581 | .slot equ esp ;locals |
- | 582 | ||
- | 583 | push esi ;save .slot |
|
- | 584 | ||
- | 585 | shl esi, 8 |
|
- | 586 | cmp [PROC_BASE+esi+APPDATA.dir_table], 0 |
|
- | 587 | jne @F |
|
- | 588 | add esp, 4 |
|
582 | 589 | ret |
|
583 | push esi ;save .slot |
590 | @@: |
584 | mov esi,process_terminating |
591 | mov esi,process_terminating |
585 | call sys_msg_board_str |
592 | call sys_msg_board_str |
586 | @@: |
593 | @@: |
Line 596... | Line 603... | ||
596 | mov esi, [.slot] |
603 | mov esi, [.slot] |
597 | shl esi,8 |
604 | shl esi,8 |
598 | add esi, PROC_BASE+APP_OBJ_OFFSET |
605 | add esi, PROC_BASE+APP_OBJ_OFFSET |
599 | @@: |
606 | @@: |
600 | mov eax, [esi+APPOBJ.fd] |
607 | mov eax, [esi+APPOBJ.fd] |
- | 608 | test eax, eax |
|
- | 609 | jz @F |
|
- | 610 | ||
601 | cmp eax, esi |
611 | cmp eax, esi |
602 | je @F |
612 | je @F |
Line 603... | Line 613... | ||
603 | 613 | ||
604 | push esi |
614 | push esi |