Re: [PATCH 3/4] Add cpu_number and cpuboot

2022-11-14 Thread Samuel Thibault
Damien Zammit, le ven. 11 nov. 2022 23:21:28 +, a ecrit: > diff --git a/i386/i386/cpu_number.c b/i386/i386/cpu_number.c > new file mode 100644 > index ..d4621669 > --- /dev/null > +++ b/i386/i386/cpu_number.c > +#if NCPUS > 1 > +int cpu_number(void) > +{ > + int kernel_id; > + u

[PATCH 3/4] Add cpu_number and cpuboot

2022-11-11 Thread Damien Zammit
--- i386/i386/cpu_number.c | 37 ++ i386/i386/cpuboot.S| 164 + i386/i386at/boothdr.S | 2 +- 3 files changed, 202 insertions(+), 1 deletion(-) create mode 100644 i386/i386/cpu_number.c create mode 100644 i386/i386/cpuboot.S diff --git a/i