Displaying 3 results from an estimated 3 matches for "magic_id".
Did you mean:
lapic_id
2009 Sep 28
6
What is the most efficient way to split a table into 2 groups?
I have the following:
@lot = Lot.find(params[:id])
part_nums = Part.all(:conditions => ["id <> ?", @lot.part.id])
I guess I should mention that
Lot :belongs_to => :part
I was looking at the log following the execution of these two
statements and I saw something like this:
Lot Load (0.4ms) SELECT * FROM "lots" WHERE ("lots"."id" = 13)
Part
2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...t]
+ mov [menu_desc+menu_entries],cx
+
+ mov cx,256*2
+ mov [menu_desc+menu_ent_size],cx
+ mov [menu_desc+menu_arg_size],cx
+
+ mov esi,ds
+ shl esi,4
+ add esi,menu_desc
+
+ call far [gfx_bc_menu_init]
+ pop es
+ ret
+
+magic_ok:
+ xor eax,eax
+ cmp dword [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 ec...
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
...t]
+ mov [menu_desc+menu_entries],cx
+
+ mov cx,256*2
+ mov [menu_desc+menu_ent_size],cx
+ mov [menu_desc+menu_arg_size],cx
+
+ mov esi,ds
+ shl esi,4
+ add esi,menu_desc
+
+ call far [gfx_bc_menu_init]
+ pop es
+ ret
+
+magic_ok:
+ xor eax,eax
+ cmp dword [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 ec...