commit | 5f641356127712fbdce0eee120e5ce115860c17f | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@linux.intel.com> | Wed Mar 18 16:54:05 2009 -0700 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Wed Mar 18 16:54:05 2009 -0700 |
tree | 25e4fb9f3984bd2cd9621fb599e964975fad2028 | |
parent | be721696cac9d66566d59b205ee573ecb2f7c35b [diff] |
x86, setup: fix the setting of 480-line VGA modes Impact: fix rarely-used feature The VGA Miscellaneous Output Register is read from address 0x3CC but written to address 0x3C2. This was missed when this code was converted from assembly to C. While we're at it, clean up the code by making the overflow bits and the math used to set the bits explicit. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>