[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create a Hurd translator?

From: Samuel Thibault
Subject: Re: How to create a Hurd translator?
Date: Wed, 22 Apr 2020 10:03:11 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Damien Zammit, le mer. 22 avril 2020 15:57:26 +1000, a ecrit:
> >> 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. 
> > 
> > Can't the parsing be done in userland (like we do for shutdown), and
> > just hand over the information to the kernel?
> Shutdown mechanism can be done this way, yes - there is plenty of time to 
> parse the tables in userspace before shutdown.
> However, I believe interrupt configuration of the IOAPIC(s) and activation of 
> the other cores
> needs to be done very early, even before the first disk interrupt occurs.

I was thinking that perhaps the system can boot with just one core and
enable the other cores after bootstrap. We don't really need smp support
very early in the boot.

> It seems much more appropriate and easier to read the in-memory ACPI tables 
> at a fixed memory address (eg. ESCD 0xe0000)
> in gnumach and bootstrap the system from an SMP enabled kernel so the kernel 
> already knows
> how to drive interrupts and timers before any other servers launch.

If parsing the ACPI tables just for SMP is simple enough, yes, that
should be fine and make the whole picture simpler.

> Are you suggesting to create an interrupt/timer server?

No, that seems too extreme to me.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]