Subversion Repositories Kolibri OS

Rev

Rev 9047 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9047 Rev 9048
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2021. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2021. 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: 8876 $
8
$Revision: 9048 $
9
 
9
 
10
align 4 ;3A08
10
align 4 ;3A08
11
build_interrupt_table:
11
build_interrupt_table:
Line 305... Line 305...
305
        test    edx, PG_READ
305
        test    edx, PG_READ
306
        jz      .fail             ; page table is not created
306
        jz      .fail             ; page table is not created
307
                                  ; incorrect address in the program
307
                                  ; incorrect address in the program
Line 308... Line 308...
308
 
308
 
309
        mov     eax, [page_tabs+ebx*4]
309
        mov     eax, [page_tabs+ebx*4]
310
        test    eax, 2
310
        test    eax, 1
Line 311... Line 311...
311
        jz      .fail             ; address not reserved for use. error
311
        jz      .fail             ; address not reserved for use. error
312
 
312
 
313
        pop     ebx
313
        pop     ebx