|
From: | Almudena Garcia |
Subject: | Re: Enable SMP support |
Date: | Tue, 10 Jul 2018 15:31:56 +0200 |
This is the record of GNU/Hurd boot crash with SMPFeels that It crash when Hurd starts2018-07-10 1:34 GMT+02:00 Almudena Garcia <liberamenso10000@gmail.com>:It compiles!! :-)I've just got to finish the GNU Mach compilation, patched to add SMP support.You can see the code here: https://github.com/AlmuHS/GNUMach_SMP/tree/smp I tried to boot Hurd using the new Mach image, but It crash.Now I will need to debug my code.In the compile log appears many interesting warning.
https://github.com/AlmuHS/GNUMach_SMP/blob/smp/build/build_ log 2018-07-09 19:20 GMT+02:00 Almudena Garcia <liberamenso10000@gmail.com>:I have commented this lines at moment.2018-07-09 17:32 GMT+02:00 Almudena Garcia <liberamenso10000@gmail.com>:Finally, I got the equivalent call to cpu_desc_init64(cpu_datap(slot_num)); Also, I've replaced many others variables in the code.The current code is here: https://github.com/AlmuHS/GNUMach_SMP/blob/smp/i386/i386/int el_startCPU.c Now I'm searching the equivalency to this:- IdlePTD in this line:DBG("IdlePTD(%p): 0x%x\n", &IdlePTD, (int) (uintptr_t)IdlePTD);- the next variables and structstart_info.starter_cpu = cpu_number();
start_info.target_cpu = slot_num;
start_info.target_lapic = lapic;
tsc_entry_barrier = 2;
tsc_exit_barrier = 2;2018-07-05 17:29 GMT+02:00 Joshua Branson <jbranso@fastmail.com>:Almudena Garcia <liberamenso10000@gmail.com> writes:
> I've just fixed a little error in my code.
>
> I attach the fixed file
>
> 2018-07-04 21:14 GMT+02:00 Almudena Garcia <liberamenso10000@gmail.com>:
>
hmmm. This is a little out of my league, but I appreciate you for trying!
[Prev in Thread] | Current Thread | [Next in Thread] |