Almudena Garcia, le jeu. 30 août 2018 20:30:57 +0200, a ecrit:
> For example, I saw the duplicated code in pmap.h and pmap.c.

Which duplication? All I see there is macros which are non-trivial in
the SMP case, and very trivial in the non-SMP case.

> Also in kern/ cpu_number.h (the code what I fixed),

Well, that's only to be expected: in non-SMP case it is trivial, and in
the SMP case it is not.

> and many codes in kern/ directory.

Please be more specific :)

> is there any guide to understanding GNU Mach code? To learn about what do each
> file.

I don't know, I guess the wiki has pointers. Probably there is also
reading about the Mach kernel in general (GNU Mach is really largely
based on the Mach family).

Samuel

Reply via email to