[PATCH Hurd] lwip: Properly handle errors during initialization

2024-12-07 Thread Zhaoming Luo
--- lwip/main.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lwip/main.c b/lwip/main.c index ff9051db..0d92589f 100644 --- a/lwip/main.c +++ b/lwip/main.c @@ -218,7 +218,7 @@ main (int argc, char **argv) task_get_bootstrap_port (mach_task_self (), &bootstrap)

[PATCH Web] Add an introduction about a mig-mutate.h file

2024-12-07 Thread Zhaoming Luo
Add a link pointing to an introduction about a mig-mutate.h file * microkernel/mach/mig/documentation.mdwn: new further relevant documentation --- microkernel/mach/mig/documentation.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/microkernel/mach/mig/documentation.mdwn b/microk

[PATCH gnumach] mp_desc: Add assert for AP having non-zero cpu number

2024-12-07 Thread Damien Zammit via Bug reports for the GNU Hurd
Non-master processors cannot have cpu_number() == 0. The synchronisation fails hard if the cpu number is wrong. Alert the condition if this is the case. (On AMD fam15h, this assert currently fails, but I haven't been able to boot it with smp yet either). --- i386/i386/mp_desc.c | 3 +++ 1 file c

Re: [PATCH gnumach] mp_desc: Add assert for AP having non-zero cpu number

2024-12-07 Thread Samuel Thibault
Applied, thanks! Damien Zammit via Bug reports for the GNU Hurd, le sam. 07 déc. 2024 10:12:34 +, a ecrit: > Non-master processors cannot have cpu_number() == 0. > The synchronisation fails hard if the cpu number is wrong. > Alert the condition if this is the case. > > (On AMD fam15h, this a

Re: [PATCH Hurd] Code refactor

2024-12-07 Thread Samuel Thibault
Applied, thanks! Zhaoming Luo, le sam. 07 déc. 2024 12:52:45 +0800, a ecrit: > --- > lwip/options.c | 2 +- > lwip/pfinet-ops.c | 2 +- > lwip/port/netif/hurdethif.c | 2 +- > lwip/port/netif/hurdtunif.c | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > > diff -