Displaying 2 results from an estimated 2 matches for "gfx_mem0_start".
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
...+ cmp ax,16
+ jb skip_extended
+
+ mov word [gfx_xmem_0],88h ; 8MB at 8MB
+ mov dword [gfx_save_area1],7f0000h ; 8MB-64k
+
+skip_extended:
+ movzx ebx,word [gfx_mem_start_seg]
+ shl ebx,4
+
+ movzx ecx,word [gfx_mem_end_seg]
+ shl ecx,4
+
+ mov dword [gfx_mem],ebx
+ mov dword [gfx_mem0_start],ebx
+ mov dword [gfx_mem0_end],ecx
+
+ call gfx_read_file
+ jc gfx_init_end
+
+ call gfx_get_sysconfig
+
+ ; align 4
+ mov eax,[gfx_mem0_start]
+ add eax,3
+ and eax,~3
+ mov [gfx_mem0_start],eax
+
+; setup jump table
+ les bx,[gfx_bc_jt]
+
+ mov ax,[es:bx]
+ mov [gfx_bc_init],ax
+ mo...
2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...gfx_xmem_0],81h ; 1MB at 8MB
+ mov word [gfx_xmem_1],0a1h ; 1MB at 10MB
+ mov dword [gfx_save_area1],7f0000h ; 8MB-64k
+
+skip_extended:
+ movzx ebx,word [gfx_mem_start_seg]
+ shl ebx,4
+
+ movzx ecx,word [gfx_mem_end_seg]
+ shl ecx,4
+
+ mov dword [gfx_mem],ebx
+ mov dword [gfx_mem0_start],ebx
+ mov dword [gfx_mem0_end],ecx
+
+ call gfx_read_file
+ jc gfx_init_end
+
+ call gfx_get_sysconfig
+
+ ; align 4
+ mov eax,[gfx_mem0_start]
+ add eax,3
+ and eax,~3
+ mov [gfx_mem0_start],eax
+
+; setup jump table
+ les bx,[gfx_bc_jt]
+
+ mov ax,[es:bx]
+ mov [gfx_bc_init],ax
+ mo...