Skip to content
Commit 59acc08f authored by Antonino A. Daplas's avatar Antonino A. Daplas Committed by H. Peter Anvin
Browse files

[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: default avatarAntonino Daplas <adaplas@gmail.com>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 1ed43950
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment