On Thu, Oct 20, 2011 at 9:57 PM, Kevin O'Connor wrote:
> On Thu, Oct 20, 2011 at 11:44:50AM +0200, Gerd Hoffmann wrote:
>> >> The disk access code is called from 16bit mode, and thus it needs to
>> >> be compiled in 16bit mode. The link errors you are seeing are there
>> >> to force a build error
On Thu, Oct 20, 2011 at 11:44:50AM +0200, Gerd Hoffmann wrote:
> >> The disk access code is called from 16bit mode, and thus it needs to
> >> be compiled in 16bit mode. The link errors you are seeing are there
> >> to force a build error (instead of failing mysterously at run time).
> >>
> >> What
On Thu, Oct 20, 2011 at 11:44:50AM +0200, Gerd Hoffmann wrote:
> >> The ahci driver has to access some memory addresses above 1 meg to
> >> work properly and so it uses the pci_readl/writel() functions which
> >> trampoline to/from 32bit mode to acomplish this. If you need to do
> >> something sim
On Thu, Oct 20, 2011 at 07:33:42AM +0100, Ian Campbell wrote:
> On Wed, 2011-10-19 at 20:25 -0400, Kevin O'Connor wrote:
> > On Wed, Oct 19, 2011 at 04:08:06PM +0900, Daniel Castro wrote:
> > > Hello,
> > >
> > > I am trying to add a process_op in block.c for Xen, yet the linker
> > > throws an er
Hi,
>> The disk access code is called from 16bit mode, and thus it needs to
>> be compiled in 16bit mode. The link errors you are seeing are there
>> to force a build error (instead of failing mysterously at run time).
>>
>> What does your driver do that requires 32bit mode?
Access special pag
On Thu, Oct 20, 2011 at 9:38 AM, Kevin O'Connor wrote:
> On Wed, Oct 19, 2011 at 04:08:06PM +0900, Daniel Castro wrote:
>> In the makefile I have included in SRC32FLAT xen-blk.c to run my code,
>> if I put it in SRCBOTH the following error is displayed.
>> 32bit flat init size: 68896
>> Linking
On Wed, 2011-10-19 at 20:25 -0400, Kevin O'Connor wrote:
> On Wed, Oct 19, 2011 at 04:08:06PM +0900, Daniel Castro wrote:
> > Hello,
> >
> > I am trying to add a process_op in block.c for Xen, yet the linker
> > throws an error for out rom16, yet my code will only run in 32Bit
> > FLAT.
> > The sp
On Wed, Oct 19, 2011 at 04:08:06PM +0900, Daniel Castro wrote:
> In the makefile I have included in SRC32FLAT xen-blk.c to run my code,
> if I put it in SRCBOTH the following error is displayed.
> 32bit flat init size: 68896
> Linking out/rom16.o
> out/code16.o: In function `xen_blk_op':
> make:
On Wed, Oct 19, 2011 at 04:08:06PM +0900, Daniel Castro wrote:
> Hello,
>
> I am trying to add a process_op in block.c for Xen, yet the linker
> throws an error for out rom16, yet my code will only run in 32Bit
> FLAT.
> The specific error is undefined referece to process_xen_op (my
> function def
2011/10/19 Peter Stuge
> Daniel Castro wrote:
> > out/code16.o: In function `process_op':
> > /home/daniel/workspace/seabios_patch/src/block.c:304: undefined
> > reference to `process_xen_op'
> > make: *** [out/rom16.o] Error 1
> >
> > Linking out/rom16.o
> > out/code16.o: In function `xen_blk_
Daniel Castro wrote:
> out/code16.o: In function `process_op':
> /home/daniel/workspace/seabios_patch/src/block.c:304: undefined
> reference to `process_xen_op'
> make: *** [out/rom16.o] Error 1
>
> Linking out/rom16.o
> out/code16.o: In function `xen_blk_op':
> make: *** [out/rom16.o] Error 1
Hello,
I am trying to add a process_op in block.c for Xen, yet the linker
throws an error for out rom16, yet my code will only run in 32Bit
FLAT.
The specific error is undefined referece to process_xen_op (my
function defined elsewhere) Here is the make output:
32bit flat init size: 68944
Linkin
12 matches
Mail list logo