]> git.ipfire.org Git - thirdparty/grub.git/commit
Shrink the pre-partition-table part of boot.img by eight bytes.
authorColin King <colin.king@ubuntu.com>
Sun, 14 Mar 2010 15:47:05 +0000 (15:47 +0000)
committerColin Watson <cjwatson@ubuntu.com>
Sun, 14 Mar 2010 15:47:05 +0000 (15:47 +0000)
commit463ac55fac48795d6cbe33c047eac01cf80648ea
tree5be0d69017089ab26cc7bcd4eff0e341f432ae74
parent08e46ededac18339abe90193ac91b3e908d90a09
parent33dfc52f44114ec268eba26e18bcb19668b729d8
Shrink the pre-partition-table part of boot.img by eight bytes.

* boot/i386/pc/boot.S (ERR): New macro.
(chs_mode): Use ERR.
(geometry_error): Likewise.
(hd_probe_error): Remove.  This is only used once, so we wrwite
it inline instead.
(read_error): Instead of printing read_error_string, just set up
%si and fall through to ...
(error_message): ... this new function, also used by ERR.

Also-By: Colin Watson <cjwatson@ubuntu.com>
ChangeLog