Displaying 2 results from an estimated 2 matches for "find_file_end".
2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...rd [es:bx],0b2d97f00h ; header.magic_id
+ jnz magic_ok_end
+ cmp byte [es:bx+4],8 ; header.version
+ jnz magic_ok_end
+ mov eax,[es:bx+8]
+magic_ok_end:
+ ret
+
+find_file:
+ mov edi,[gfx_mem]
+ push edi
+ call gfx_l2so
+ pop bx
+ pop es
+ call magic_ok
+ or eax,eax
+ jnz find_file_end
+
+find_file_loop:
+ mov ecx,[gfx_mem0_start]
+ sub ecx,26 + 12 ; min cpio header + gfx header
+ cmp edi,ecx
+ jae find_file_end
+ push edi
+ call gfx_l2so
+ pop bx
+ pop es
+ cmp word [es:bx],71c7h
+ jnz find_file_end
+ mov ax,[es:bx+20] ; file name size
+...
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
...rd [es:bx],0b2d97f00h ; header.magic_id
+ jnz magic_ok_end
+ cmp byte [es:bx+4],8 ; header.version
+ jnz magic_ok_end
+ mov eax,[es:bx+8]
+magic_ok_end:
+ ret
+
+find_file:
+ mov edi,[gfx_mem]
+ push edi
+ call gfx_l2so
+ pop bx
+ pop es
+ call magic_ok
+ or eax,eax
+ jnz find_file_end
+
+find_file_loop:
+ mov ecx,[gfx_mem0_start]
+ sub ecx,26 + 12 ; min cpio header + gfx header
+ cmp edi,ecx
+ jae find_file_end
+ push edi
+ call gfx_l2so
+ pop bx
+ pop es
+ cmp word [es:bx],71c7h
+ jnz find_file_end
+ mov ax,[es:bx+20] ; file name size
+...