Subversion Repositories Kolibri OS

Rev

Rev 6252 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6252 Rev 6317
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2015. 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: 6252 $
8
$Revision: 6317 $
9
 
9
 
Line 573... Line 573...
573
        jb      .kernel_space     ;страница в памяти ядра
573
        jb      .kernel_space     ;страница в памяти ядра
Line 574... Line 574...
574
 
574
 
575
        cmp     ebx, kernel_tabs
575
        cmp     ebx, kernel_tabs
576
        jb      .alloc;.app_tabs  ;таблицы страниц приложения ;
576
        jb      .alloc;.app_tabs  ;таблицы страниц приложения ;
577
                                  ;просто создадим одну
-
 
578
if 0 ;пока это просто лишнее
-
 
579
        cmp     ebx, LFB_BASE
-
 
580
        jb      .core_tabs        ;таблицы страниц ядра
-
 
581
                                  ;Ошибка
-
 
582
  .lfb:
-
 
583
                                  ;область LFB
-
 
584
                                  ;Ошибка
-
 
585
        jmp     .fail
-
 
586
end if
577
                                  ;просто создадим одну
587
.core_tabs:
578
.core_tabs:
588
.fail:  ;simply return to caller
579
.fail:  ;simply return to caller
589
        mov     esp, ebp
580
        mov     esp, ebp
590
        pop     ebx               ;restore exception number (#PF)
581
        pop     ebx               ;restore exception number (#PF)