This has the effect of running with one cpu only with smp,
but has the ability to enable APs in userspace with the right
processor set RPCs.
---
ddb/db_print.c | 4 +++-
kern/machine.c | 7 ++-
kern/processor.c | 30 +++---
kern/processor.h | 1 +
4 files changed
---
configfrag.ac | 2 +-
kern/task.h | 10 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/configfrag.ac b/configfrag.ac
index f9285c9d..d059c7b9 100644
--- a/configfrag.ac
+++ b/configfrag.ac
@@ -71,7 +71,7 @@ AC_DEFINE([MACH_DEBUG], [1], [MACH_DEBUG])
AC_DEFINE([MA
---
kern/thread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kern/thread.c b/kern/thread.c
index 38287581..de9d1982 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -1921,7 +1921,7 @@ Restart:
* Reset policy and priorities if needed.
*/
#ifMACH
---
i386/i386at/kd.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index 984d62e3..486dea67 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -458,6 +458,7 @@ kdopen(
kdinit();
}
tp->t_state |= TS_CARR_ON;
+ un
Wait for ICR then just assert the signal. No de-assert.
---
i386/i386/smp.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/i386/i386/smp.c b/i386/i386/smp.c
index 05e9de67..a758eea3 100644
--- a/i386/i386/smp.c
+++ b/i386/i386/smp.c
@@ -54,17 +54,11 @@ static void smp
Fixed. Thanks!!
El sáb, 10 feb 2024 a las 16:35, Samuel Thibault ()
escribió:
> That was because of bogus #ifdefs, now fixed.
>
> Samuel
>
> Almudena Garcia, le sam. 10 févr. 2024 16:22:47 +0100, a ecrit:
> > The error continues when I compile for a only cpu.
> > My compile commands are
> >
> > .
That was because of bogus #ifdefs, now fixed.
Samuel
Almudena Garcia, le sam. 10 févr. 2024 16:22:47 +0100, a ecrit:
> The error continues when I compile for a only cpu.
> My compile commands are
>
> ./configure --host=i686-gnu CC='gcc -m32' LD='ld -melf_i386' --enable-apic
> --enable-kdb --enab
The error continues when I compile for a only cpu.
My compile commands are
./configure --host=i686-gnu CC='gcc -m32' LD='ld -melf_i386' --enable-apic
--enable-kdb --enable-ncpus=1 --disable-linux-groups
make gnumach.gz
I got this error
if test -s gnumach-undef-bad; \
then cat gnumach-undef-bad;