[ros-dev] Re: [ros-svn] [hbirr] 12690: - Implemented KeAcquireInterruptSpinLock and KeReleaseInterruptSpinLock.

Hartmut Birr hartmut.birr at gmx.de
Sat Jan 1 18:15:29 CET 2005


Alex Ionescu schrieb:

> Hi,
>
> Thanks for adding this feature to the kernel, I only have one problem 
> with it... Would it be possible to modify the code to use the 
> documented KINTERRUPT structure? This would (already does) wreck havoc 
> on the new header system, which uses documented Windows structures 
> (except in extreme cases where our code is very old, and those 
> structures were unavailable, ie the Ob Manager structures... although 
> enventually that code will have to be updated).
>
I see no reason to make all internal structures from ntoskrnl compatible 
with the M$ one. I'm not sure if the KINTERRUPT structure is public 
documented. The end of the structure looks like a little bit if it was 
extracted from code or from a symbol file. For smp machines we need an 
array of KINTERRUPT structures. IMOH it should be an header with some 
informations (count, the nice ProcessorEnableMask, ..) and an array of 
the real interrupt structures. But in this case the structures for the 
Io- and Ke-functions are different.

- Hartmut



More information about the Ros-dev mailing list