[ros-kernel] TEB offsets wrong - suggested fix - feedback pls

Royce Mitchell III royce3 at ev1.net
Thu Feb 5 11:29:05 CET 2004


FWIW, the offset information I gathered here is based on XP.

My point that I was trying to get across is if the offsets listed on the 
right side are the offsets those entries are supposed to be at, then 
some of them are *WRONG*.

My proposal fixes two things:

1) Makes the gl portion of the TEB offsets correct relative to the other 
items - as I said I did not analyze the entire table, which probably 
needs to be done.

2) Correct the offset and table size information for the gl entries.

Richard Campbell wrote:

> If we were going to do that, i'd vote for XP, as win2k sp4 is due to 
> be dropped from support soon (not sure when, but it is rapidly 
> approaching it's death.)
>
> Vizzini wrote:
>
>> On Thu, 2004-02-05 at 10:06, Royce Mitchell III wrote:
>>  
>>
>>> Even if the exact offsets for GL don't matter, there's still a 
>>> problem with the TEB that my patch corrects, and that is that all 
>>> offsets listed after the GL stuff *must* be wrong, because the GL 
>>> stuff made them incorrect, at least.
>>>   
>>
>>
>> I'm not sure if this is what you're saying, but I do believe that we
>> should pick an OS (and a SP if necessary) and clone addresses and
>> sturcutre layouts as much as possible, and then reply that we are that
>> version of Windows.  That will get us compatibiliity with things that
>> don't stick only to the psdk.
>>
>> This is, of course, easier said than done.  Also, if we have to pick,
>> I'd vote for Win2k sp4.
>>
>> -Vizzini
>>
>>
>> _______________________________________________
>> Ros-kernel mailing list
>> Ros-kernel at reactos.com
>> http://reactos.com/mailman/listinfo/ros-kernel
>>
>>  
>>
>
>
> _______________________________________________
> Ros-kernel mailing list
> Ros-kernel at reactos.com
> http://reactos.com/mailman/listinfo/ros-kernel
>
> .
>




More information about the Ros-kernel mailing list