[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failed to build grub2

From: Bean
Subject: Re: Failed to build grub2
Date: Thu, 27 Dec 2007 19:07:33 +0800

On Dec 27, 2007 7:00 PM, Robert Millan <address@hidden> wrote:
> Uhm I recall seeing macros for that already:
>   kern/i386/pc/startup.S:       DATA32  ADDR32  lgdt    gdtdesc
> I guess those are telling GAS to generate 0x66 and 0x67?

yes, adding the DATA32 ADDR32 prefix might work as well:

DATA32 ADDR32 leal  0x200 + data_start - data_next(%ebx,%eax), %eax


reply via email to

[Prev in Thread] Current Thread [Next in Thread]