[haiku-gsoc] Re: [HPET] (Fwd:) I'm in a jam.

On Sun, Aug 3, 2008 at 7:26 AM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
> How early do you need the module code? It basically only needs the heap
> to be functional, so it could come right after vm_init() in main.cpp
> (we would need to move the notification stuff into a separate
> module_init_post_threads(), though).
> If you haven't already started, I could do this as well.
>
I haven't started yet; do the timers init before or after the heap?

On Sun, Aug 3, 2008 at 12:26 PM, Michael Lotz <mmlr@xxxxxxxx> wrote:
> The HPET specs describe it in chapter 3.2.4. Not sure if QEMU supports
> HPET, and if it does it's still possible that it doesn't do the
> separate HPET descriptor table. But then that'd probably be a missing
> feature of QEMU. I'm pretty sure that my board has an HPET and also
> exports that separate table. Just to make sure, the board you use does
> have a working HPET in other systems? I know that not all modern boards
> have it present, although they've probably become more widespread since
> I last checked.
>

The board I use has an HPET working in Linux, and it does appear there
is an extra block for it.

/sys/firmware/acpi/tables/HPET

Alright, I think That'll do. Sorry for the confusion, then :)

The only cause for loading modules early at this point would be
IOAPIC, I think I can patch support into QEMU (it's in the DSDT but
not in the ACPI table proper; that's easily done.)

-- 

- DH

Other related posts: