Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130586
b: refs/heads/master
c: 7fc49f1
h: refs/heads/master
v: v3
  • Loading branch information
Andreas Schwab authored and Ingo Molnar committed Jan 30, 2009
1 parent 4a3558f commit fd34ada
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 618b2c8db24522ae273d8299c6a936ea13793c4d
refs/heads/master: 7fc49f19813030f2e15ad2ccec5cb701f7f4a3ec
11 changes: 5 additions & 6 deletions trunk/arch/x86/boot/video-vesa.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,8 @@ void vesa_store_edid(void)
we genuinely have to assume all registers are destroyed here. */

asm("pushw %%es; movw %2,%%es; "INT10"; popw %%es"
: "+a" (ax), "+b" (bx)
: "c" (cx), "D" (di)
: "esi");
: "+a" (ax), "+b" (bx), "+c" (cx), "+D" (di)
: : "esi", "edx");

if (ax != 0x004f)
return; /* No EDID */
Expand All @@ -285,9 +284,9 @@ void vesa_store_edid(void)
dx = 0; /* EDID block number */
di =(size_t) &boot_params.edid_info; /* (ES:)Pointer to block */
asm(INT10
: "+a" (ax), "+b" (bx), "+d" (dx), "=m" (boot_params.edid_info)
: "c" (cx), "D" (di)
: "esi");
: "+a" (ax), "+b" (bx), "+d" (dx), "=m" (boot_params.edid_info),
"+c" (cx), "+D" (di)
: : "esi");
#endif /* CONFIG_FIRMWARE_EDID */
}

Expand Down

0 comments on commit fd34ada

Please sign in to comment.