[x86 setup] video setup: Fix VBE DDC reading
commit59acc08fd95aefb5430458a08a82b15a4174ed74
authorAntonino A. Daplas <adaplas@gmail.com>
Thu, 2 Aug 2007 10:16:46 +0000 (2 18:16 +0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 2 Aug 2007 15:08:27 +0000 (2 11:08 -0400)
tree446a1712a99eb0485a60ca789c71757f6f436277
parent1ed4395035a6791ebbbf618429a58ab9c207cc83
[x86 setup] video setup: Fix VBE DDC reading

Add memory operand constraint and write-only modifier to the inline
assembly to effect the writing of the EDID block to boot_params.edid_info.

Without this, gcc would think the EDID query was dead code and would
eliminate it.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/i386/boot/video-vesa.c