Rev 9941 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9941 | Rev 9948 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | ;; ;; |
5 | ;; ;; |
6 | ;; Synhronization for MenuetOS. ;; |
6 | ;; Synhronization for MenuetOS. ;; |
7 | ;; Author: Halyavin Andrey, halyavin@land.ru ;; |
7 | ;; Author: Halyavin Andrey, halyavin@land.ru ;; |
8 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
8 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 9... | Line 9... | ||
9 | 9 | ||
Line 10... | Line 10... | ||
10 | $Revision: 9941 $ |
10 | $Revision: 9948 $ |
11 | 11 | ||
12 | struct FRB |
12 | struct FRB |
13 | list LHEAD |
13 | list LHEAD |
Line 218... | Line 218... | ||
218 | cld |
218 | cld |
219 | pushfd |
219 | pushfd |
220 | cli |
220 | cli |
221 | mov [_display.current_lfb], ecx |
221 | mov [_display.current_lfb], ecx |
222 | .patch_pde: |
222 | .patch_pde: |
223 | lea edi, [eax + PROC.pdt_0 + PAGE_SIZE -32] ;last 8 pd entries up to 32Mb framebuffer |
223 | lea edi, [eax + PROC.pdt_0 + (LFB_BASE shr 20)] ;last 8 pd entries up to 32Mb framebuffer |
224 | mov ecx, 4 |
224 | mov ecx, 4 |
225 | rep movsd ;patch pde |
225 | rep movsd ;patch pde |
226 | sub esi, 16 |
226 | sub esi, 16 |
227 | mov eax, [eax + PROC.list.next] ;next process/address space |
227 | mov eax, [eax + PROC.list.next] ;next process/address space |
228 | cmp eax, sys_proc |
228 | cmp eax, sys_proc |