bug-hurd
[Top][All Lists]
Advanced

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

Re: Enable SMP support


From: Luca Dariz
Subject: Re: Enable SMP support
Date: Tue, 3 Jul 2018 18:24:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Il 03/07/2018 17:49, Almudena Garcia ha scritto:
> I've just tried to add this functions in Makefile.am, in clib_routines,
> as this form
> 
> clib_routines := htonl htons ntohl ntohs                        \
>                  udivdi3 __udivdi3 __udivmoddi4 __umoddi3       \
>                  __divdi3                                       \
>                  __rel_iplt_start __rel_iplt_end                \
>                  __ffsdi2                                    \ 
>                 ffs intel_startCPU local_bh_count local_irq_count \
>                 _START _start etext _edata end _end # actually ld magic,
> not li$     

This seems to be ok for the ffs function, the others are not part of the
standard C library.

> 
> But now It shows this error (attached file)
> 
> Feels that It's necessary to define this functions but I don't know
> where these functions are located.
> 
> How can I define this?     
> 
I'd look for for the non-SMP implementation and start from there, they
should be somewhere in gnumach sources.

Also it seems that local_bh_count and local_irq_count are used only in
the Linux-based drivers, so maybe you can look to the SMP-aware
implementation in Linux (or #define the functions as empty macros if
they are not strictly needed..)

Luca



reply via email to

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