small update copyright year in kernel

git-svn-id: svn://kolibrios.org@9715 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Doczom
2022-02-12 17:27:41 +00:00
parent 3920d392b0
commit 182f6ade61
61 changed files with 1686 additions and 1734 deletions

View File

@@ -1,6 +1,6 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;;
;; Copyright (C) KolibriOS team 2004-2022. All rights reserved. ;;
;; Distributed under terms of the GNU General Public License ;;
;; ;;
;; Synhronization for MenuetOS. ;;
@@ -30,8 +30,8 @@ create_framebuffer:
test eax, eax
jz .fail
mov [eax+FRB.magic], 'FRMB'
mov [eax+FRB.destroy], 0
mov [eax + FRB.magic], 'FRMB'
mov [eax + FRB.destroy], 0
.fail:
ret
@@ -48,7 +48,7 @@ init_video:
cmp eax, MAX_SCREEN_WIDTH
ja $
mov [_display.width], eax
mov [ebp+FRB.width], eax
mov [ebp + FRB.width], eax
mov [display_width_standard], eax
dec eax
mov [screen_workarea.right], eax
@@ -57,7 +57,7 @@ init_video:
cmp eax, MAX_SCREEN_HEIGHT
ja $
mov [_display.height], eax
mov [ebp+FRB.height], eax
mov [ebp + FRB.height], eax
mov [display_height_standard], eax
dec eax
mov [screen_workarea.bottom], eax
@@ -72,7 +72,7 @@ init_video:
movzx eax, word[BOOT.pitch] ; for other modes
@@:
mov [_display.lfb_pitch], eax
mov [ebp+FRB.pitch], eax
mov [ebp + FRB.pitch], eax
mov eax, [BOOT.lfb]
mov [LFBAddress], eax
@@ -131,16 +131,16 @@ init_video:
jnc .create_page_tables
mov edx, 0x00400000
or esi, PG_GLOBAL+PAT_WC+PG_UWR
or esi, PG_GLOBAL + PAT_WC + PG_UWR
and esi, [pte_valid_mask]
or esi, PDE_LARGE
mov [ebp+FRB.pde], esi
mov [ebp + FRB.pde], esi
add esi, edx
mov [ebp+FRB.pde+4], esi
mov [ebp + FRB.pde + 4], esi
add esi, edx
mov [ebp+FRB.pde+8], esi
mov [ebp + FRB.pde + 8], esi
add esi, edx
mov [ebp+FRB.pde+12], esi
mov [ebp + FRB.pde + 12], esi
add esi, edx
.ok:
call calculate_fast_getting_offset_for_WinMapAddress
@@ -153,7 +153,7 @@ init_video:
.create_page_tables:
add ebp, FRB.pde
or esi, PG_GLOBAL+PAT_WC+PG_UWR
or esi, PG_GLOBAL + PAT_WC + PG_UWR
and esi, [pte_valid_mask]
stdcall alloc_kernel_space, 0x1000
@@ -162,7 +162,7 @@ init_video:
.new_pd:
call alloc_page
lea edx, [eax+PG_UWR]
lea edx, [eax + PG_UWR]
mov [ebp], edx
stdcall map_page, edi, eax, PG_SWR
@@ -190,8 +190,8 @@ init_video:
mov edi, eax ;free_kernel_space call
call alloc_page
lea edx, [eax+PG_UWR]
mov [ebp+FRB.pde], edx
lea edx, [eax + PG_UWR]
mov [ebp + FRB.pde], edx
stdcall map_page, edi, eax, PG_SWR
@@ -213,7 +213,7 @@ align 4
set_framebuffer:
push esi
push edi
lea esi, [ecx+FRB.pde]
lea esi, [ecx + FRB.pde]
mov eax, sys_proc
cld
@@ -221,11 +221,11 @@ set_framebuffer:
cli
mov [_display.current_lfb], ecx
.patch_pde:
lea edi, [eax+PROC.pdt_0+4096-32] ;last 8 pd entries up to 32Mb framebuffer
lea edi, [eax + PROC.pdt_0+4096-32] ;last 8 pd entries up to 32Mb framebuffer
mov ecx, 4
rep movsd ;patch pde
sub esi, 16
mov eax, [eax+PROC.list.next] ;next process/address space
mov eax, [eax + PROC.list.next] ;next process/address space
cmp eax, sys_proc
jne .patch_pde