Rev 675 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
675 | andrew_pro | 1 | ;******************************************************* |
2 | ;*Function activate a trap for the specialized message.* |
||
3 | ;******************************************************* |
||
4 | |||
5 | ;IN |
||
6 | ;void ActivateTrapForSpecializedMessage(dword *control) |
||
7 | |||
8 | activate_trap_for_specialized_message: |
||
9 | |||
706 | andrew_pro | 10 | push eax |
11 | push ebx |
||
12 | |||
13 | mov ebx,[esp+8+4] |
||
675 | andrew_pro | 14 | xor eax,eax |
15 | mov al,[ebx+control_header_size] |
||
16 | or al,activate_trap |
||
17 | mov [ebx+control_header_size],al |
||
18 | |||
706 | andrew_pro | 19 | pop ebx |
20 | pop eax |
||
21 | |||
675 | andrew_pro | 22 | ret 4 |