summaryrefslogtreecommitdiffstats
path: root/src/arch/i386
diff options
context:
space:
mode:
authorMichael Brown2016-02-16 19:41:58 +0100
committerMichael Brown2016-02-16 20:32:32 +0100
commit4d224c95d4980acebfb1d3b455c119424130cd15 (patch)
tree63a9d9b3b23700d9b7ba6c9ab996666849d9822f /src/arch/i386
parent[bios] Allow rtc_entropy.c to be compiled for x86_64 (diff)
downloadipxe-4d224c95d4980acebfb1d3b455c119424130cd15.tar.gz
ipxe-4d224c95d4980acebfb1d3b455c119424130cd15.tar.xz
ipxe-4d224c95d4980acebfb1d3b455c119424130cd15.zip
[bios] Allow bzimage.c to be compiled for x86_64
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386')
-rw-r--r--src/arch/i386/image/bzimage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/i386/image/bzimage.c b/src/arch/i386/image/bzimage.c
index a64206cd..d9b5ddc0 100644
--- a/src/arch/i386/image/bzimage.c
+++ b/src/arch/i386/image/bzimage.c
@@ -631,9 +631,9 @@ static int bzimage_exec ( struct image *image ) {
"pushw %w2\n\t"
"pushw $0\n\t"
"lret\n\t" )
- : : "r" ( bzimg.rm_kernel_seg ),
- "r" ( bzimg.rm_heap ),
- "r" ( bzimg.rm_kernel_seg + 0x20 ) );
+ : : "R" ( bzimg.rm_kernel_seg ),
+ "R" ( bzimg.rm_heap ),
+ "R" ( bzimg.rm_kernel_seg + 0x20 ) );
/* There is no way for the image to return, since we provide
* no return address.