On 20/4/20 5:39 am, Almudena Garcia wrote:
> Yes, I know. But, if I want to start the cpu explorating using ACPI 
> translator, I think that the best way is to create other translator, instead 
> call to this directly from gnumach.
> Another problem can be share the reference to lapic with gnumach, once this 
> have been found in ACPI tables, but this will be a next question.

Almudena, I think you are a little confused between userspace and gnumach.
Translators run in userspace.
I believe the kernel is standalone and if you need access to ACPI in there,
you need to include ACPI code in gnumach directly.

I have a feeling we are going to need all of acpica incorporated into gnumach 
eventually,
because you need a full ACPI parser for learning the PCI interrupts and proper 
shutdown mechanism. 

If it were me, I would figure out a minimal way to add acpica to gnumach and 
write a header
that can provide basic api access to the internals, and then build up the 
necessary code.

Samuel might have comments on my ideas above.

Damien

Reply via email to