This adds a few more things we need for smp.
Per-cpu curr_ipl[] for example.
With these changes compiled for smp and apic,
the kernel fails to boot with -smp {2,4,6,8}
due to the first task getting lost somewhere.
If you boot with $(prompt-task-resume) in grub,
it enters the debugger just before l
---
i386/i386at/interrupt.S | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/i386/i386at/interrupt.S b/i386/i386at/interrupt.S
index 1103b1c8..55f4fa0f 100644
--- a/i386/i386at/interrupt.S
+++ b/i386/i386at/interrupt.S
@@ -43,6 +43,9 @@ ENTRY(interrupt)
cmpl$25
---
i386/intel/pmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index 0a805e4c..40ddcd6a 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -3013,7 +3013,7 @@ voidsignal_cpus(
cpu_update_needed[which_cpu] = TRUE
---
i386/i386/cpu_number.h | 13 ---
i386/i386/fpu.c | 4 ++--
i386/i386/ipl.h | 2 +-
i386/i386/pic.c | 6 +++--
i386/i386/spl.S | 34 ++---
i386/i386at/ioapic.c
---
x86_64/cswitch.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/x86_64/cswitch.S b/x86_64/cswitch.S
index 1a7471c3..015e884c 100644
--- a/x86_64/cswitch.S
+++ b/x86_64/cswitch.S
@@ -137,7 +137,7 @@ ud2
movqS_ARG2,%rsi /* get its argument */
---
i386/i386/mp_desc.c | 1 -
i386/i386/smp.c | 1 -
i386/intel/pmap.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c
index 446fedb5..e6fcbf62 100644
--- a/i386/i386/mp_desc.c
+++ b/i386/i386/mp_desc.c
@@ -199,7 +199,6 @@ cpu_control(int cpu,
Update of sr #110199 (project administration):
Status: In Progress => Need Info
Open/Closed:Open => Closed
___
Follow-up Comment #34:
Some files
Hi:
Have you checked the bound processor that I sent you some days ago? Maybe
it's related
Added to this, you can debug better using gdb
Try with this
El lun., 13 feb. 2023 9:49, Damien Zammit escribió:
> This adds a few more things we need for smp.
> Per-cpu curr_ipl[] for example.
> With th
Applied, thanks!
Damien Zammit, le lun. 13 févr. 2023 08:50:08 +, a ecrit:
> ---
> x86_64/cswitch.S | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/x86_64/cswitch.S b/x86_64/cswitch.S
> index 1a7471c3..015e884c 100644
> --- a/x86_64/cswitch.S
> +++ b/x86_64/cswitch.S
Applied, thanks!
Damien Zammit, le lun. 13 févr. 2023 08:49:45 +, a ecrit:
> ---
> i386/intel/pmap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
> index 0a805e4c..40ddcd6a 100644
> --- a/i386/intel/pmap.c
> +++ b/i386/intel/p
Applied, thanks!
Damien Zammit, le lun. 13 févr. 2023 08:49:39 +, a ecrit:
> ---
> i386/i386at/interrupt.S | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/i386/i386at/interrupt.S b/i386/i386at/interrupt.S
> index 1103b1c8..55f4fa0f 100644
> --- a/i386/i386at/in
Applied, thanks!
Damien Zammit, le lun. 13 févr. 2023 08:49:52 +, a ecrit:
> ---
> i386/i386/cpu_number.h | 13 ---
> i386/i386/fpu.c | 4 ++--
> i386/i386/ipl.h | 2 +-
> i386/i386/pic.c | 6 +++--
> i386/i38
Applied, thanks!
Damien Zammit, le lun. 13 févr. 2023 08:50:02 +, a ecrit:
> ---
> i386/i386/mp_desc.c | 1 -
> i386/i386/smp.c | 1 -
> i386/intel/pmap.c | 1 -
> 3 files changed, 3 deletions(-)
>
> diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c
> index 446fedb5..e6fcbf62 1006
13 matches
Mail list logo