Rev 9612 | Rev 9614 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9612 | Rev 9613 | ||
---|---|---|---|
Line 75... | Line 75... | ||
75 | format binary as "mnt" |
75 | format binary as "mnt" |
Line 76... | Line 76... | ||
76 | 76 | ||
77 | include 'macros.inc' |
77 | include 'macros.inc' |
Line 78... | Line 78... | ||
78 | include 'struct.inc' |
78 | include 'struct.inc' |
Line 79... | Line 79... | ||
79 | 79 | ||
80 | $Revision: 9612 $ |
80 | $Revision: 9613 $ |
Line 2199... | Line 2199... | ||
2199 | cmp edx, 1 |
2199 | cmp edx, 1 |
2200 | je .fail |
2200 | je .fail |
Line 2201... | Line 2201... | ||
2201 | 2201 | ||
2202 | mov eax, edx |
2202 | mov eax, edx |
- | 2203 | shl edx, 5 |
|
Line -... | Line 2204... | ||
- | 2204 | ;shl edx, 8 |
|
2203 | shl edx, 5 |
2205 | |
2204 | 2206 | ;cmp [edx + SLOT_BASE + APPDATA.state], TSTATE_FREE |
|
Line -... | Line 2207... | ||
- | 2207 | cmp [edx + TASK_TABLE + TASKDATA.state], TSTATE_FREE |
|
2205 | cmp [edx + TASK_TABLE + TASKDATA.state], TSTATE_FREE |
2208 | je .fail |
2206 | je .fail |
2209 | |
Line 2207... | Line 2210... | ||
2207 | 2210 | ;shr edx, 3 |
|
2208 | cmp ecx, 1 |
2211 | cmp ecx, 1 |
Line 2663... | Line 2666... | ||
2663 | stosd |
2666 | stosd |
2664 | lea eax, [edx-1] |
2667 | lea eax, [edx-1] |
2665 | stosd |
2668 | stosd |
Line 2666... | Line 2669... | ||
2666 | 2669 | ||
- | 2670 | ; +30: PID/TID |
|
2667 | ; +30: PID/TID |
2671 | mov eax, [ecx*8 + SLOT_BASE + APPDATA.tid] |
2668 | mov eax, [ecx+TASK_TABLE+TASKDATA.pid] |
2672 | mov eax, [ecx+TASK_TABLE+TASKDATA.pid] |
Line 2669... | Line 2673... | ||
2669 | stosd |
2673 | stosd |
2670 | 2674 | ||
Line 2675... | Line 2679... | ||
2675 | movsd |
2679 | movsd |
2676 | movsd |
2680 | movsd |
2677 | movsd |
2681 | movsd |
Line 2678... | Line 2682... | ||
2678 | 2682 | ||
- | 2683 | ; Process state (+50) |
|
2679 | ; Process state (+50) |
2684 | movzx eax, byte [ecx*8 + SLOT_BASE + APPDATA.state] |
2680 | movzx eax, byte [ecx+TASK_TABLE+TASKDATA.state] |
2685 | movzx eax, byte [ecx+TASK_TABLE+TASKDATA.state] |
Line 2681... | Line 2686... | ||
2681 | stosd |
2686 | stosd |
2682 | 2687 | ||
Line 2690... | Line 2695... | ||
2690 | ; Window state |
2695 | ; Window state |
2691 | mov al, [ecx+window_data+WDATA.fl_wstate] |
2696 | mov al, [ecx+window_data+WDATA.fl_wstate] |
2692 | stosb |
2697 | stosb |
Line 2693... | Line 2698... | ||
2693 | 2698 | ||
- | 2699 | ; Event mask (+71) |
|
2694 | ; Event mask (+71) |
2700 | mov EAX, dword [ecx*8 + SLOT_BASE + APPDATA.event_mask] |
2695 | mov EAX, dword [ECX+TASK_TABLE+TASKDATA.event_mask] |
2701 | mov EAX, dword [ECX+TASK_TABLE+TASKDATA.event_mask] ; delete |
Line 2696... | Line 2702... | ||
2696 | stosd |
2702 | stosd |
2697 | 2703 | ||
2698 | ; Keyboard mode (+75) |
2704 | ; Keyboard mode (+75) |