From: "Michael S. Zick" <lkml@morethan.org>
To: Amerigo Wang <xiyou.wangcong@gmail.com>
Cc: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>,
hpa@zytor.com, linux-kernel@vger.kernel.org
Subject: Re: [x86] Build error at arch/x86/boot/bioscall.S
Date: Tue, 16 Jun 2009 04:59:50 -0500 [thread overview]
Message-ID: <200906160459.53065.lkml@morethan.org> (raw)
In-Reply-To: <20090616093056.GD6270@cr0.nay.redhat.com>
On Tue June 16 2009, Amerigo Wang wrote:
> On Tue, Jun 16, 2009 at 05:25:34PM +0900, Tetsuo Handa wrote:
> >Amerigo Wang wrote:
> >> How about:
> >>
> >> - movw 68(%esp), %di
> >> + movzwl %sp, %ebx
> >> + movw 68(%ebx), %di
> >>
> >> ? Does this work?
> >No.
> >
> >arch/x86/boot/bioscall.S: Assembler messages:
> >arch/x86/boot/bioscall.S:69: Error: `68(%ebx)' is not a valid 16 bit base/index expression
> >make[1]: *** [arch/x86/boot/bioscall.o] Error 1
> >make: *** [bzImage] Error 2
>
> Ok, how about:
>
> - movw 68(%esp), %di
> + addl $68, %esp
> + popw %di
> + subl $66, %esp
>
I do hope you have interrupts disabled around that chunk.
Just how old is the toolchain (some didn't do 16bit worth a sh..)?
Mike
> ?
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>
next prev parent reply other threads:[~2009-06-16 10:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-16 7:38 [x86] Build error at arch/x86/boot/bioscall.S Tetsuo Handa
2009-06-16 8:14 ` Amerigo Wang
2009-06-16 8:25 ` Tetsuo Handa
2009-06-16 9:30 ` Amerigo Wang
2009-06-16 9:59 ` Michael S. Zick [this message]
2009-06-16 11:40 ` Tetsuo Handa
2009-06-16 15:15 ` H. Peter Anvin
2009-06-16 15:15 ` H. Peter Anvin
2009-06-16 21:43 ` Tetsuo Handa
2009-06-16 15:12 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200906160459.53065.lkml@morethan.org \
--to=lkml@morethan.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=penguin-kernel@i-love.sakura.ne.jp \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox