[Haiku-commits] r33285 - in haiku/trunk: headers/private/kernel/arch/x86 src/system/kernel/arch/x86/timers

Stefano Ceccherini stefano.ceccherini at gmail.com
Fri Sep 25 08:55:07 CEST 2009


2009/9/25 David McPaul <dlmcpaul at gmail.com>:

>> The area is created bigger than that, enough to contain the correct
>> number of elements.
>
> Not automatically it is not.  Somewhere you have to allocate the
> memory for the real size.

I didn't mean it's automatically done.

> I cannot see the code to do that part of it.

The struct is not malloc'ed. That area is mapped in x86_hpet.c, line 149.
http://svn.berlios.de/viewcvs/haiku/haiku/trunk/src/system/kernel/arch/x86/timers/x86_hpet.c?revision=33285&view=markup



More information about the Haiku-commits mailing list