Re: checking whether mig supports the retcode keyword... no

2023-02-15 Thread Flávio Cruz
On Wed, Feb 15, 2023 at 4:05 AM Sergey Bugaev wrote: > On Wed, Feb 15, 2023 at 8:51 AM Flávio Cruz wrote: > >> This would be trivial to fix by flipping the line order in aclocal.m4 > >> (in each repo that vendors it...), but maybe MIG should actually > >> support this? What does it need the subs

[PATCH gnumach] trap: Fix Wformat issues

2023-02-15 Thread Damien Zammit
--- i386/i386/trap.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i386/i386/trap.c b/i386/i386/trap.c index 9a35fb42..34ccb6a5 100644 --- a/i386/i386/trap.c +++ b/i386/i386/trap.c @@ -212,7 +212,7 @@ dump_ss(regs); if (trunc_page(subcode) =

Re: [PATCH gnumach] Define prototype for bogus in gensym.awk

2023-02-15 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le mer. 15 févr. 2023 01:38:24 -0500, a ecrit: > Otherwise gcc will complain that bogus does not have a prototype. > --- > gensym.awk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gensym.awk b/gensym.awk > index 63c2f440..609d9273 100644 > --- a/gensym.aw

Re: [PATCH gnumach] Rename efl to rfl for x86_64 in struct i386_thread_state

2023-02-15 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le mer. 15 févr. 2023 00:40:55 -0500, a ecrit: > --- > i386/i386/pcb.c| 13 - > i386/include/mach/i386/thread_status.h | 2 +- > 2 files changed, 9 insertions(+), 6 deletions(-) > > diff --git a/i386/i386/pcb.c b/i386/i386/pcb.c

Re: [PATCH 2/2 gnumach] Add missing init_fpu() for APs

2023-02-15 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le mer. 15 févr. 2023 09:57:36 +, a ecrit: > --- > i386/i386/mp_desc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c > index 4b5a78ea..fa66aa44 100644 > --- a/i386/i386/mp_desc.c > +++ b/i386/i386/mp_desc.

Re: [PATCH 1/2 gnumach] Fix missing cpu_pause symbol

2023-02-15 Thread Samuel Thibault
Damien Zammit, le mer. 15 févr. 2023 09:57:30 +, a ecrit: > --- > i386/i386/smp.c | 5 + > i386/i386/smp.h | 3 +-- > 2 files changed, 6 insertions(+), 2 deletions(-) > > diff --git a/i386/i386/smp.c b/i386/i386/smp.c > index c0149a3b..f493bdc0 100644 > --- a/i386/i386/smp.c > +++ b/i386/

[PATCH 1/2 gnumach] Fix missing cpu_pause symbol

2023-02-15 Thread Damien Zammit
--- i386/i386/smp.c | 5 + i386/i386/smp.h | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/i386/i386/smp.c b/i386/i386/smp.c index c0149a3b..f493bdc0 100644 --- a/i386/i386/smp.c +++ b/i386/i386/smp.c @@ -45,6 +45,11 @@ static void smp_data_init(void) } +inline void

[PATCH 2/2 gnumach] Add missing init_fpu() for APs

2023-02-15 Thread Damien Zammit
--- i386/i386/mp_desc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c index 4b5a78ea..fa66aa44 100644 --- a/i386/i386/mp_desc.c +++ b/i386/i386/mp_desc.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include

Re: checking whether mig supports the retcode keyword... no

2023-02-15 Thread Sergey Bugaev
On Wed, Feb 15, 2023 at 8:51 AM Flávio Cruz wrote: >> This would be trivial to fix by flipping the line order in aclocal.m4 >> (in each repo that vendors it...), but maybe MIG should actually >> support this? What does it need the subsystem for anyway, when parsing >> type defs? Apple's MIG suppor