]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[int13] Fix compilation on some versions of gcc
authorMichael Brown <mcb30@ipxe.org>
Tue, 10 Apr 2012 11:55:54 +0000 (12:55 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 10 Apr 2012 12:00:46 +0000 (13:00 +0100)
commit3c13d68f50d556141fb42e58ea2358a54f40f33a
tree9e7b8ef69a76eaaae3dbbb0c572ea861cdef5006
parent943b3003bd8eea1d925abb57c344bea5347d7938
[int13] Fix compilation on some versions of gcc

Using __from_text16() and __from_data16() in inline asm constraints
sometimes defeats gcc's ability to simplify expressions down to
compile-time constants.

Reported-by: Jason Kohles <jkohles@palantir.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/interface/pcbios/int13.c