Rev 4838 | Rev 5569 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4838 | Rev 4839 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2013. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2013. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 4838 $ |
8 | $Revision: 4839 $ |
9 | 9 | ||
10 | 10 | ||
Line 790... | Line 790... | ||
790 | ret |
790 | ret |
791 | ;----------------------------------------------------------------------------- |
791 | ;----------------------------------------------------------------------------- |
792 | align 4 |
792 | align 4 |
793 | IDE_common_irq_handler: |
793 | IDE_common_irq_handler: |
794 | ; DEBUGF 1, 'K : IDE_common_irq_handler %x\n', [IDE_common_irq_param]:2 |
794 | ; DEBUGF 1, 'K : IDE_common_irq_handler %x\n', [IDE_common_irq_param]:2 |
- | 795 | pushfd |
|
- | 796 | cli |
|
795 | cmp [IDE_common_irq_param], 0 |
797 | cmp [IDE_common_irq_param], 0 |
796 | je .exit |
798 | je .exit |
Line 797... | Line -... | ||
797 | - | ||
798 | pushfd |
- | |
799 | cli |
799 | |
800 | pushad |
800 | pushad |
801 | xor ebx, ebx |
801 | xor ebx, ebx |
802 | mov ecx, [IDE_controller_pointer] |
802 | mov ecx, [IDE_controller_pointer] |
803 | mov dx, [ecx+IDE_DATA.RegsBaseAddres] |
803 | mov dx, [ecx+IDE_DATA.RegsBaseAddres] |
Line 830... | Line 830... | ||
830 | mov al, 1 |
830 | mov al, 1 |
831 | ret |
831 | ret |
832 | ;-------------------------------------- |
832 | ;-------------------------------------- |
833 | @@: |
833 | @@: |
834 | popad |
834 | popad |
835 | popfd |
- | |
836 | ;-------------------------------------- |
835 | ;-------------------------------------- |
837 | .exit: |
836 | .exit: |
- | 837 | popfd |
|
838 | mov al, 0 |
838 | mov al, 0 |
839 | ret |
839 | ret |
840 | ;----------------------------------------------------------------------------- |
840 | ;----------------------------------------------------------------------------- |
841 | align 4 |
841 | align 4 |
842 | hd_read_dma: |
842 | hd_read_dma: |