From 4c475321341e16250cdc7b6eb1183e1a3cf62c74 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 3 May 2006 23:10:00 +0000 Subject: oops! Slap me on the head for this one. Quick fix for ward until YhLu's suggestions are all there.. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2291 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/amd/car/copy_and_run.c | 4 ++-- src/cpu/x86/car/copy_and_run.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/cpu/amd/car/copy_and_run.c b/src/cpu/amd/car/copy_and_run.c index 44c3bf24fc..341c66e910 100644 --- a/src/cpu/amd/car/copy_and_run.c +++ b/src/cpu/amd/car/copy_and_run.c @@ -37,8 +37,8 @@ static void copy_and_run(void) #else __asm__ volatile ( - "leal 4+_liseg, %0\n\t" - "leal _iseg, %1\n\t" + "leal _liseg, %0\n\t" + "leal _iseg, %1\n\t" : "=a" (src) , "=b" (dst) ); diff --git a/src/cpu/x86/car/copy_and_run.c b/src/cpu/x86/car/copy_and_run.c index 4954e43841..98a47c9bc6 100644 --- a/src/cpu/x86/car/copy_and_run.c +++ b/src/cpu/x86/car/copy_and_run.c @@ -29,8 +29,8 @@ static void copy_and_run(unsigned cpu_reset) #else __asm__ volatile ( - "leal 4+_liseg, %0\n\t" - "leal _iseg, %1\n\t" + "leal _liseg, %0\n\t" + "leal _iseg, %1\n\t" : "=a" (src) , "=b" (dst) ); -- cgit v1.2.3