Re: Enable SMP support

2018-07-03 Thread Luca Dariz
Hello! Il 28/06/2018 20:31, Almudena Garcia ha scritto: > Now the compiler gets the gnumach.o, but It returns another linker error. > I attach logs also. > > > How can I solve this? >From the last lines of the log ... ffs intel_startCPU local_bh_count local_irq_count ... these four functions

Re: Enable SMP support

2018-07-03 Thread liberamenso10000
Thanks, I'll try it El Martes 3 de julio de 2018, Luca Dariz escribió: > Hello! > > Il 28/06/2018 20:31, Almudena Garcia ha scritto: > > Now the compiler gets the gnumach.o, but It returns another linker error. > > I attach logs also. > > > > > > How can I solve this? > > From the last lines o

Re: Enable SMP support

2018-07-03 Thread Almudena Garcia
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 \

Re: Enable SMP support

2018-07-03 Thread Luca Dariz
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   \ > __d

Re: Enable SMP support

2018-07-03 Thread Almudena Garcia
Using grep, I've found *local_bh_count* and *local_irq_count. ffs *is defined correctly. But I don't find the *intel_startCPU* definition. In *i386/i386/mp_desc.c *there are many calls to this, but It doesn't appear to be in any file. Do you know about this? 2018-07-03 17:49 GMT+02:00 Almudena G

Re: Enable SMP support

2018-07-03 Thread Almudena Garcia
> > 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..) > Yes, I found their definitions in *linux/dev/arch