Rev 2465 | Rev 3500 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2465 | Rev 2987 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | ;; Distributed under GPL. See file COPYING for details. ;; |
9 | ;; Distributed under GPL. See file COPYING for details. ;; |
10 | ;; Copyright 2003 Ville Turjanmaa ;; |
10 | ;; Copyright 2003 Ville Turjanmaa ;; |
11 | ;; ;; |
11 | ;; ;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 13... | Line 13... | ||
13 | 13 | ||
Line 14... | Line 14... | ||
14 | $Revision: 2465 $ |
14 | $Revision: 2987 $ |
15 | 15 | ||
16 | 16 | ||
Line 423... | Line 423... | ||
423 | mov [eax+12], ecx |
423 | mov [eax+12], ecx |
424 | .cont: |
424 | .cont: |
425 | add eax, 16 |
425 | add eax, 16 |
426 | cmp eax, hotkey_list+256*16 |
426 | cmp eax, hotkey_list+256*16 |
427 | jb .loop |
427 | jb .loop |
- | 428 | ; get process PID |
|
- | 429 | mov eax, esi |
|
- | 430 | shl eax, 5 |
|
- | 431 | mov eax, [eax+CURRENT_TASK+TASKDATA.pid] |
|
- | 432 | ; compare current lock input with process PID |
|
- | 433 | cmp eax, [PID_lock_input] |
|
- | 434 | jne @f |
|
- | 435 | ||
- | 436 | xor eax, eax |
|
- | 437 | mov [PID_lock_input], eax |
|
- | 438 | @@: |
|
428 | ; remove hotkeys in buffer |
439 | ; remove hotkeys in buffer |
429 | mov eax, hotkey_buffer |
440 | mov eax, hotkey_buffer |
430 | .loop2: |
441 | .loop2: |
431 | cmp [eax], esi |
442 | cmp [eax], esi |
432 | jnz .cont2 |
443 | jnz .cont2 |
Line 675... | Line 686... | ||
675 | ;call sys_msg_board_str |
686 | ;call sys_msg_board_str |
676 | add esp, 4 |
687 | add esp, 4 |
677 | ret |
688 | ret |
678 | restore .slot |
689 | restore .slot |
Line 679... | Line 690... | ||
679 | 690 | ||
680 | iglobal |
691 | ;iglobal |
681 | if lang eq ru |
692 | ;if lang eq ru |
682 | boot_sched_1 db '®§¤ ¨¥ GDT TSS 㪠§ ⥫ï',0 |
693 | ; boot_sched_1 db '®§¤ ¨¥ GDT TSS 㪠§ ⥫ï',0 |
683 | boot_sched_2 db '®§¤ ¨¥ IDT â ¡«¨æë',0 |
694 | ; boot_sched_2 db '®§¤ ¨¥ IDT â ¡«¨æë',0 |
684 | else |
695 | ;else |
685 | boot_sched_1 db 'Building gdt tss pointer',0 |
696 | ; boot_sched_1 db 'Building gdt tss pointer',0 |
686 | boot_sched_2 db 'Building IDT table',0 |
697 | ; boot_sched_2 db 'Building IDT table',0 |
687 | end if |
698 | ;end if |
688 | endg |
- | |
Line 689... | Line -... | ||
689 | - | ||
Line -... | Line 699... | ||
- | 699 | ;endg |
|
690 | 700 | ||
691 | build_scheduler: |
701 | |
692 | 702 | ;build_scheduler: |
|
Line 693... | Line 703... | ||
693 | mov esi, boot_sched_1 |
703 | ; mov esi, boot_sched_1 |
694 | call boot_log |
704 | ; call boot_log |
695 | ; call build_process_gdt_tss_pointer |
- | |
696 | 705 | ; call build_process_gdt_tss_pointer |