Alex Ionescu wrote:
Microsoft have managed to write their Cm code in a very portable way
so that the Hv* (Hive) and Cm* (NT Config Manager) APIs are very
seperated. The result of this is that they've been able to share the
registry code between the kernel and the boot loader. Is there any way
we can do the same? Certaintly having two pieces of code that are very
similar but have subtle differences creates only more avenues for
bugs. (Casper, you agree?)
I think it is possible to share the code for the hive and the registry
functions between freeldr and ntoskrnl. And we have three pieces of
similar code. Mkhive can use the same routines.
- Hartmut